Skip to content

fix: https=false otherwise https was not disabled. #726

fix: https=false otherwise https was not disabled.

fix: https=false otherwise https was not disabled. #726

Workflow file for this run

---
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 ./...