changed icon and gosec #13
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: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
tests: | |
runs-on: windows-latest | |
env: | |
GO111MODULE: on | |
steps: | |
- name: Checkout Source | |
uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: '1.23.3' | |
- name: Install Gosec | |
run: | | |
go install github.com/securego/gosec/v2/cmd/gosec@latest | |
- name: Run Gosec Security Scanner | |
run: | | |
gosec -exclude G404 ./... # Run gosec on your project |