Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 #106
This file contains hidden or 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: Build | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
on: | |
workflow_run: | |
workflows: ["linter"] | |
types: | |
- completed | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
- '.github/**' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '**.md' | |
- '.github/**' | |
permissions: | |
contents: read | |
jobs: | |
build: | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
check-latest: true | |
go-version: 1.23 | |
id: go | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v4 | |
- name: Cache go module | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/go/pkg/mod | |
~/.cache/go-build | |
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} | |
restore-keys: | | |
${{ runner.os }}-go- | |
- name: Check and build | |
run: | | |
make check | |
git diff --exit-code | |
make build | |
- name: Test | |
run: | | |
make test-full | |
make test-race | |
make test-pure | |
make benchmark-pure | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.txt |