Skip to content

build: [GH-84] Broken CI #295

build: [GH-84] Broken CI

build: [GH-84] Broken CI #295

Workflow file for this run

---
name: Run Gosec
'on':
push:
branches:
- main
pull_request:
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
env:
GO111MODULE: 'on'
steps:
- name: Checkout Source
uses: actions/checkout@v2
- 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.11.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 ./...