Skip to content

build(deps): bump dominikh/staticcheck-action from 1.3.0 to 1.3.1 #31

build(deps): bump dominikh/staticcheck-action from 1.3.0 to 1.3.1

build(deps): bump dominikh/staticcheck-action from 1.3.0 to 1.3.1 #31

Workflow file for this run

name: test
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: WillAbides/setup-go-faster@v1.14.0
with:
go-version: stable
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/cache@v4
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go mod download -x
- run: go vet ./...
- uses: dominikh/staticcheck-action@v1.3.1
with:
install-go: false
- run: go test -v ./... -race -bench=. -benchmem -cover -coverprofile cover.out 2>&1 | tee test.out
- run: go tool cover -func cover.out