Skip to content

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 #45

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0

Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 #45

Workflow file for this run

name: humannumbers
on: push
jobs:
build:
name: humannumbers build
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
check-latest: true
cache: true
go-version: "1.22"
- name: Build & Test
run: |
go clean -r ./...
go mod tidy
go build -v -ldflags="-s -w" ./...
go test -v -race -count 1 -parallel 5 -covermode=atomic -coverprofile="coverage.out" ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true # optional (default = false)
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: latest
args: --timeout=5m
- name: Govulncheck
uses: kmulvey/govulncheck-action@v1.2.0