Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 #254
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: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.21', '1.20' ] | |
name: Go ${{ matrix.go }} test | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Check documentation generator | |
run: | | |
find . -name '*.md' | xargs env AUTODOC_DRYRUN=1 perl tools/autodoc.pl | |
- name: Install Go stable version | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Test | |
run: go test -v -race -coverprofile=coverage.out -coverpkg=./... ./... | |
- name: Upload code coverage to codecov | |
if: matrix.go == '1.19' | |
uses: codecov/codecov-action@v4 | |
with: | |
file: ./coverage.out | |