Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update Go to 1.23 #120

Merged
merged 1 commit into from
Aug 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
env:
CIRRUS_CLONE_DEPTH: 1
GO_VERSION: go1.22.5
GO_VERSION: go1.23.0

freebsd_13_task:
freebsd_instance:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32
with:
go-version: '1.22'
go-version: '1.23'

- name: Check out code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
# Oldest supported version is 1.18, plus the latest two releases.
go-version: ['1.18', '1.21', '1.22']
go-version: ['1.18', '1.22', '1.23']
os: [ubuntu-20.04, ubuntu-22.04, macos-12, macos-13, macos-14, windows-2019, windows-2022]
runs-on: ${{ matrix.os }}

Expand All @@ -27,11 +27,11 @@ jobs:
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Check formatting
if: ${{ matrix.go-version == '1.22' && matrix.os == 'ubuntu-22.04' }}
if: ${{ matrix.go-version == '1.23' && matrix.os == 'ubuntu-22.04' }}
run: diff -u <(echo -n) <(gofmt -d .)

- name: Check Go modules
if: ${{ matrix.go-version == '1.22' && matrix.os == 'ubuntu-22.04' }}
if: ${{ matrix.go-version == '1.23' && matrix.os == 'ubuntu-22.04' }}
run: |
go mod tidy
git diff --exit-code
Expand Down
Loading