build(deps): bump github.com/dvsekhvalnov/jose2go from 0.0.0-20200901110807-248326c1351b to 1.6.0 #28
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
- release/** | |
jobs: | |
cleanup-runs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: rokroskar/workflow-run-cleanup-action@master | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main'" | |
install-tparse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
go-version: 1.17 | |
- name: Display Go Version | |
run: go version | |
- name: Install tparse | |
run: | | |
export GO111MODULE="on" && go get github.com/mfridman/tparse@latest | |
- uses: actions/[email protected] | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-tparse-binary | |
test-unit-cover: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
with: | |
go-version: 1.17 | |
- uses: actions/[email protected] | |
- uses: technote-space/[email protected] | |
with: | |
PATTERNS: | | |
**/**.sol | |
**/**.go | |
go.mod | |
go.sum | |
- name: Test and Create Coverage Report | |
run: | | |
make test-unit-cover | |
if: env.GIT_DIFF | |
- uses: codecov/[email protected] | |
with: | |
file: ./coverage.txt | |
fail_ci_if_error: true | |
if: env.GIT_DIFF |