diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 11ffab7..da36327 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -10,7 +10,7 @@ jobs: test: strategy: matrix: - go-version: [1.14.x, 1.19.x, 1.20.x, 1.21.x] + go-version: [1.14.x, 1.20.x, 1.21.x, 1.22.x] platform: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.platform }} steps: @@ -27,14 +27,14 @@ jobs: - name: Test with -race run: go test -race -count=1 ./... - name: Integration test - if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.21') + if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.22') run: | sudo modprobe nfnetlink_queue sudo ip6tables -I OUTPUT -p ipv6-icmp -j NFQUEUE --queue-num 100 sudo iptables -I OUTPUT -p icmp -j NFQUEUE --queue-num 100 go test -v -tags integration -exec=sudo -count=1 ./... - name: staticcheck.io - if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.21') + if: matrix.platform == 'ubuntu-latest' && startsWith(matrix.go-version, '1.22') uses: dominikh/staticcheck-action@v1.3.0 with: version: "2023.1.7"