Skip to content

Commit

Permalink
ci, go.mod: bump to go 1.23
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Callendrello <c1@caseyc.net>
  • Loading branch information
squeed committed Sep 17, 2024
1 parent cc8b1bd commit 6b4c869
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.22
go-version-file: go.mod

- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: 1.21
go-version-file: go.mod

- name: Checkout code
uses: actions/checkout@v4
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
pull_request: {}

env:
# be sure to update the version in release.yaml too
GO_VERSION: "1.22"
LINUX_ARCHES: "amd64 386 arm arm64 s390x mips64le ppc64le riscv64"

jobs:
Expand All @@ -18,7 +16,7 @@ jobs:
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
- uses: ibiqlik/action-yamllint@v3
with:
format: auto
Expand All @@ -35,7 +33,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
- name: Check module vendoring
run: |
go mod tidy
Expand All @@ -50,7 +48,7 @@ jobs:
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
- name: Build on all supported architectures
run: |
set -e
Expand All @@ -74,7 +72,7 @@ jobs:
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
- name: Set up Go for root
run: |
sudo ln -sf `which go` `sudo which go` || true
Expand Down Expand Up @@ -105,6 +103,6 @@ jobs:
- name: setup go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
go-version-file: go.mod
- name: test
run: bash ./test_windows.sh
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/containernetworking/plugins

go 1.21
go 1.23

require (
github.com/Microsoft/hcsshim v0.12.6
Expand Down

0 comments on commit 6b4c869

Please sign in to comment.