Skip to content

README

README #2

Workflow file for this run

name: Tests
on:
push:
branches: ["master", "dev"]
pull_request:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: ["1.19"]
steps:
- uses: actions/checkout@v4
- name: Setup Go (${{matrix.go-version}})
uses: actions/setup-go@v5
with:
go-version: ${{matrix.go-version}}
- name: Install non-Go dependencies
run: sudo apt-get install libcap-dev
- name: Install Go dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...