Skip to content

Add permissions for reading contents and writing packages in publish.yml #19

Add permissions for reading contents and writing packages in publish.yml

Add permissions for reading contents and writing packages in publish.yml #19

Workflow file for this run

name: Test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
- run: sudo apt-get update && sudo apt-get install -y libpcap0.8 libpcap0.8-dev
- name: Run tests
run: go test -v ./...