1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-22 23:24:32 +00:00

Merge pull request #286 from renanbastos93/patch-1

refactor: workflow to Gosec
This commit is contained in:
Fenny 2020-04-23 19:34:25 +02:00 committed by GitHub
commit 80490940fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,15 +4,14 @@ jobs:
Security:
strategy:
matrix:
go-version: [1.14.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
env:
GO111MODULE: on
steps:
- name: Install Go
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Security
run: go get github.com/securego/gosec/cmd/gosec; `go env GOPATH`/bin/gosec ./...
- name: Checkout Source
uses: actions/checkout@v2
- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...