Skip to content

Commit

Permalink
actions: add go 1.21 and 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
dfinkel committed Apr 9, 2024
1 parent ca3c944 commit 295535c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
matrix:
os: [macOS-latest, ubuntu-latest]
goversion: [1.17, 1.18, '1.19', '1.20']
goversion: [1.17, 1.18, '1.19', '1.20', '1.21', '1.22']
steps:
- name: Set up Go ${{matrix.goversion}} on ${{matrix.os}}
uses: actions/setup-go@v3
Expand All @@ -19,7 +19,7 @@ jobs:
uses: actions/checkout@v1

- name: gofmt
if: ${{matrix.goversion == '1.20'}}
if: ${{matrix.goversion == '1.22'}}
run: |
[[ -z $(gofmt -l $(find . -name '*.go') ) ]]
Expand Down

0 comments on commit 295535c

Please sign in to comment.