Files
Yun Zheng Hu fe3c0b2cdf Update go modules and bump minimum Go version to 1.23 (#11)
* Update go modules
* Update minimal Go version to 1.23
* Update README.md with tools that support pcap-over-ip
2025-05-16 16:53:32 +02:00

32 lines
631 B
YAML

# This workflow will build a golang project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: sudo apt update && sudo apt install -y libpcap-dev
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.23'
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...