diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index af91c8ab..b8730f6b 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 @@ -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') ) ]]