mirror of
https://github.com/google/gops.git
synced 2024-11-27 08:31:17 +02:00
Update CI to Go 1.23
This commit is contained in:
parent
0463c1d363
commit
9ca24655b4
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
# Minimum supported version (1.18) and the latest two
|
||||
go-version: ['1.18', '1.21', '1.22']
|
||||
go-version: ['1.18', '1.22', '1.23']
|
||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||
runs-on: ${{ matrix.platform }}
|
||||
|
||||
@ -27,7 +27,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Check formatting
|
||||
if: matrix.go-version == '1.22' && matrix.platform == 'ubuntu-latest'
|
||||
if: matrix.go-version == '1.23' && matrix.platform == 'ubuntu-latest'
|
||||
run: diff -u <(echo -n) <(go fmt $(go list ./...))
|
||||
|
||||
- name: Run unit tests
|
||||
|
Loading…
Reference in New Issue
Block a user