Files
fasthttp/.github/workflows/security.yml
T
Sergio Andrés Virviescas Santana fa3e5d85f2 Run test with go 1.16.X (#1028)
* Run test with go 1.16.X

* Fix min required go version

* Add go tip

* Update .github/workflows/security.yml

Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>

Co-authored-by: Erik Dubbelboer <erik@dubbelboer.com>
2021-05-17 10:45:11 +02:00

19 lines
529 B
YAML

on: [push, pull_request]
name: Security
jobs:
test:
strategy:
matrix:
go-version: [1.13.x, 1.14.x, 1.15.x, 1.16.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
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 -exclude=G104,G304 ./...