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:
commit
80490940fc
17
.github/workflows/security.yml
vendored
17
.github/workflows/security.yml
vendored
@ -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: ./...
|
||||
|
Loading…
x
Reference in New Issue
Block a user