Fix gosec issues (#57)

* Stricter file permissions when writing /proc/sys/ipv4/ip_forward

* Fix gosec issues
This commit is contained in:
Sohalt
2020-04-14 21:04:43 +02:00
committed by GitHub
parent f203beeab0
commit e49634f9d2
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ jobs:
- name: Check security issues with gosec
uses: "cedrickring/golang-action@1.4.1"
with:
args: go get github.com/securego/gosec/cmd/gosec; gosec ./... # https://github.com/securego/gosec
# TODO: remove `-exclude=G110` once https://github.com/go-bindata/go-bindata/pull/50 is merged and released
args: go get github.com/securego/gosec/cmd/gosec; gosec -exclude=G110 ./... # https://github.com/securego/gosec
build:
runs-on: ubuntu-latest
steps: