fix: https=false otherwise https was not disabled. #726
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: Run Gosec | |
'on': push | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
env: | |
GO111MODULE: 'on' | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.19.0 | |
- name: Download gosec | |
run: | | |
export GOSEC_URL=https://github.com/securego/gosec/releases/download | |
export GOSEC_VERSION=2.17.0 | |
export GOSEC=${GOSEC_URL}/v${GOSEC_VERSION}/gosec_${GOSEC_VERSION} | |
curl -L ${GOSEC}_linux_amd64.tar.gz -o gosec.tar.gz | |
tar -xvf gosec.tar.gz | |
chmod +x gosec | |
./gosec --version | |
- name: Run gosec | |
run: | | |
go version | |
./gosec ./... |