perf(txindex): Lower allocation overhead of txIndex matchRange (backp… #99
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: Check for Go vulnerabilities | |
# Runs https://pkg.go.dev/golang.org/x/vuln/cmd/govulncheck to proactively | |
# check for vulnerabilities in code packages if there were any changes made to | |
# any Go code or dependencies. | |
# | |
# Run `make vulncheck` from the root of the repo to run this workflow locally. | |
on: | |
pull_request: | |
push: | |
branches: | |
- osmo/v0.37.4 | |
jobs: | |
govulncheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
check-latest: true | |
- uses: actions/checkout@v4 | |
- uses: technote-space/get-diff-action@v6 | |
with: | |
PATTERNS: | | |
**/*.go | |
go.mod | |
go.sum | |
Makefile | |
- name: govulncheck | |
run: make vulncheck | |
if: "env.GIT_DIFF != ''" |