feat!: Let consumer chains choose a minimum stake and validator rank … #5158
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: Run Gosec | |
on: | |
pull_request: | |
paths: | |
- "**/*.go" | |
- "go.mod" | |
- "go.sum" | |
branches: | |
- main | |
- feat/* | |
push: | |
branches: | |
- main | |
- feat/* | |
paths: | |
- "**/*.go" | |
- "go.mod" | |
- "go.sum" | |
jobs: | |
Gosec: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v4 | |
- name: Run Gosec Security Scanner | |
uses: securego/gosec@master | |
with: | |
args: -exclude-dir=tests ./... -exclude-generated ./... |