1
0
mirror of https://github.com/google/gops.git synced 2024-11-24 08:22:25 +02:00

Update CI to Go 1.23

This commit is contained in:
Tobias Klauser 2024-11-05 12:45:37 +01:00
parent 0463c1d363
commit 9ca24655b4
No known key found for this signature in database
GPG Key ID: 6F5040074CCC0D04

View File

@ -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