Merge pull request #189 from porjo/updates #39
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 ./... |