Skip to content

Merge pull request #28 from spejder/dependabot/go_modules/tailscale.c… #70

Merge pull request #28 from spejder/dependabot/go_modules/tailscale.c…

Merge pull request #28 from spejder/dependabot/go_modules/tailscale.c… #70

Workflow file for this run

---
name: Build and test
on:
- push
permissions:
contents: read
jobs:
build_and_test:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: WillAbides/[email protected]
with:
go-version-file: go.mod
ignore-local: true
- run: go version
- name: go test
env:
# We enable cgo to be able to test with `-race`.
CGO_ENABLED: 1
run: >-
go test -v -race -cover -covermode=atomic -coverprofile=coverage.txt ./...
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4