Skip to content

Commit

Permalink
Use go 1.21 in GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
atanasovskib committed Mar 14, 2024
1 parent 7310111 commit 93840c4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
msg=$(git show -s --format=%s)
echo "head_commit_message=${msg}" >> $GITHUB_ENV
- name: Setup Go 1.20
- name: Setup Go 1.21
uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"

- name: Cache Go modules
uses: actions/cache@v2
Expand Down Expand Up @@ -142,10 +142,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Go 1.20
- name: Setup Go 1.21
uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Setup Go 1.20
- name: Setup Go 1.21
uses: actions/setup-go@v2
with:
go-version: "1.20"
go-version: "1.21"

- name: Cache Go modules
uses: actions/cache@v2
Expand Down
4 changes: 3 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/castai/egressd

go 1.21
go 1.21.0

toolchain go1.21.6

require (
github.com/Code-Hex/go-generics-cache v1.3.1
Expand Down

0 comments on commit 93840c4

Please sign in to comment.