Bump(deps): Bump github.com/schollz/progressbar/v3 from 3.16.1 to 3.17.0 #471
Workflow file for this run
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: Test, build and coverage | |
on: | |
push: | |
branches: | |
- 'main' | |
- '*.x' | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- '*.md' | |
env: | |
# run coverage only with the latest Go version | |
LATEST_GO_VERSION: '1.23' | |
jobs: | |
test-matrix: | |
strategy: | |
matrix: | |
go-version: ['1.22', '1.23'] | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- name: Build binary | |
run: make build | |
- name: Run tests | |
run: make test | |
- name: Send code coverage | |
if: success() && matrix.go == env.LATEST_GO_VERSION && matrix.os == 'ubuntu-latest' | |
uses: codecov/codecov-action@v4 | |
env: | |
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} | |