Skip to content

fix(ci): enable ICMP tests on Linux and fix gotestfmt on macOS/Windows #1512

fix(ci): enable ICMP tests on Linux and fix gotestfmt on macOS/Windows

fix(ci): enable ICMP tests on Linux and fix gotestfmt on macOS/Windows #1512

Workflow file for this run

on: [push, pull_request]
name: Check
jobs:
check:
strategy:
matrix:
go-version: [1.22.x]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v4
- name: Allow unprivileged ICMP (Linux)
if: runner.os == 'Linux'
run: sudo sysctl -w net.ipv4.ping_group_range="0 2147483647"
- name: Test
run: make test