Problem: dependencies are not up to date #2828
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: codecov | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
- release/** | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
codecov: | |
name: codecov | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.22 | |
- uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- id: changed-files | |
uses: tj-actions/changed-files@v41 | |
with: | |
files: | | |
**/*.go | |
go.mod | |
go.sum | |
- name: test | |
run: COVERAGE=coverage.txt make test | |
if: steps.changed-files.outputs.any_changed == 'true' | |
# - name: Upload coverage report | |
# uses: codecov/codecov-action@v4 | |
# with: | |
# token: ${{ secrets.CODECOV_TOKEN }} | |
# file: ./coverage.txt | |
# flags: unittests | |
# fail_ci_if_error: true |