Skip to content

Commit

Permalink
Fix windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Petya Koleva committed Jun 26, 2024
1 parent 71aabfb commit acfc0c1
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
build-dotnet:
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
- name: Setup NuGet
Expand All @@ -41,9 +41,8 @@ jobs:
needs: build-dotnet
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
- uses: actions/checkout@v3
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down Expand Up @@ -77,7 +76,7 @@ jobs:
--cidfile ${{ env.CID_FILE }}
${{ env.PROXY_IMAGE }}
- name: Checkout repository content
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Run the restarter
run: go run ./restarter/main.go &
- name: Sleep for a seconds
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,10 @@ jobs:
needs: lint-go
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
- uses: actions/checkout@v3
name: Check out code
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/proxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ jobs:
needs: lint-go
runs-on: windows-2019
steps:
- uses: actions/checkout@v2
- uses: docker/setup-buildx-action@v1
- uses: docker/login-action@v1
- uses: actions/checkout@v3
- uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
Expand Down
2 changes: 1 addition & 1 deletion proxy/Dockerfile-win
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.17.3-nanoserver-1809
FROM golang:1.22.4-nanoserver-1809
WORKDIR /src
COPY . .

Expand Down
2 changes: 1 addition & 1 deletion proxy/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/miracl/oidc-samples/proxy

go 1.18
go 1.22

require github.com/elazarl/goproxy v0.0.0-20220529153421-8ea89ba92021

0 comments on commit acfc0c1

Please sign in to comment.