This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
fix(deps): update module github.com/tidwall/gjson to v1.17.2 #367
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 of the action | |
name: test | |
# trigger on pull_request or push events | |
on: | |
pull_request: | |
push: | |
# pipeline to execute | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: clone | |
uses: actions/checkout@v4 | |
- name: install go | |
uses: actions/setup-go@v5 | |
with: | |
# use version from go.mod file | |
go-version-file: 'go.mod' | |
cache: true | |
check-latest: true | |
- name: install | |
run: | | |
go get github.com/mattn/goveralls | |
- name: exclude | |
run: | | |
rm -f artifactory/artifactory-accessors.go xray/xray-accessors.go # exclude generated code | |
- name: test | |
run: | | |
go test -covermode=atomic -coverprofile=coverage.out ./... | |
- name: coverage | |
uses: codecov/codecov-action@v4 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
file: coverage.out |