Bump github.com/openconfig/gnmic from 0.31.2 to 0.31.7 #49
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 | |
on: | |
pull_request: | |
push: | |
branches: | |
- "master" | |
- "!releases/**" | |
env: | |
GOVER: 1.19.2 | |
GORELEASER_VER: v0.180.3 | |
jobs: | |
test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: ${{ env.GOVER }} | |
- name: Configure git for private modules | |
env: | |
TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} | |
run: git config --global url."https://karimra:${TOKEN}@github.com".insteadOf "https://github.com" | |
- run: go test -cover ./... | |
env: | |
CGO_ENABLED: 0 | |
- uses: reviewdog/action-staticcheck@v1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review]. | |
reporter: github-pr-review | |
# Report all results. | |
filter_mode: nofilter | |
# Exit with 1 when it find at least one finding. | |
fail_on_error: true |