Merge pull request #372 from sge-network/fix/missing-locked-balances #689
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: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
path: /usr/local/go/bin | |
go-version: '1.18.10' | |
- name: Checkout Source | |
uses: actions/checkout@v2 | |
- name: Set env vars | |
run: | | |
echo "${HOME}/goroot/bin" >> $GITHUB_PATH | |
- name: Run Gosec Security Scanner | |
uses: cosmos/gosec@master | |
with: | |
args: ./... |