goipgrep: refactor into module; pure-Go ping/resolve; cache+CI; drop binary

This commit is contained in:
tobias
2026-02-17 09:26:30 +01:00
parent 27760b0bf1
commit a931be4707
20 changed files with 1214 additions and 376 deletions

View File

@@ -0,0 +1,26 @@
name: ci
on:
push:
pull_request:
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: go test (linux)
if: matrix.os == 'ubuntu-latest'
run: go test ./...
- name: go test (macos)
if: matrix.os == 'macos-latest'
run: go test -ldflags='-linkmode=external' ./...
- run: go vet ./...
- run: ./scripts/build.sh