Skip to content

Commit

Permalink
Update CI to Go 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
tklauser committed Feb 10, 2023
1 parent a241038 commit 45ba688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
# Minimum supported version (1.17) and the latest two
go-version: [1.17, 1.18, 1.19]
go-version: ['1.17', '1.19', '1.20']
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}

Expand All @@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v3

- name: Check formatting
if: matrix.go-version == '1.19' && matrix.platform == 'ubuntu-latest'
if: matrix.go-version == '1.20' && matrix.platform == 'ubuntu-latest'
run: diff -u <(echo -n) <(go fmt $(go list ./...))

- name: Run unit tests
Expand Down

0 comments on commit 45ba688

Please sign in to comment.