Update module github.com/spf13/afero to v1.11.0 #108
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: Check code coverage | |
on: [ push, pull_request ] | |
jobs: | |
codecov: | |
name: codecov | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: '1.20' | |
cache: false | |
- name: Get dependencies | |
run: | | |
go get -v -t -d ./... | |
- name: Generate coverage report | |
run: | | |
go test `go list ./... | grep -v examples` -coverprofile=coverage.txt -covermode=atomic | |
- name: Upload coverage report | |
uses: codecov/codecov-action@v4.5.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: ./coverage.txt | |
flags: unittests |