feat(hermes): use default extensions commands instead of cobra commands #553
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: Static Analysis | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**.md' | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: "govet | govulncheck | lint" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: technote-space/get-diff-action@v6.1.2 | |
with: | |
PATTERNS: | | |
**/*.go | |
*/go.mod | |
*/go.sum | |
- uses: actions/setup-go@v5 | |
if: env.GIT_DIFF | |
with: | |
go-version: 'stable' | |
- name: Run Lint Tests | |
if: env.GIT_DIFF | |
env: | |
GOTOOLCHAIN: local+path | |
GOSUMDB: off | |
run: make ci |