Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: use Go 1.22 #44

Merged
merged 1 commit into from
Mar 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/[email protected]
with:
version: "2023.1.7"
Expand Down
Loading