Skip to content

tweak GH actions

tweak GH actions #35

Workflow file for this run

name: gotests
# Run on any push except tag push
# See: https://stackoverflow.com/a/71879890/202311
on:
push:
branches:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
cache: false
-
name: golangci-lint
uses: golangci/golangci-lint-action@v3
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
name: Set up Go
uses: actions/setup-go@v4
-
name: Go tests
run: go test -v -race ./...