👷 v3 (ci): fix linter, remove gosec worklow

pull/2538/head
Muhammed Efe Çetin 2023-02-05 23:46:46 +03:00
parent 088cde594d
commit 7899176d8e
No known key found for this signature in database
GPG Key ID: 0AA4D45CBAA86F73
2 changed files with 1 additions and 17 deletions

View File

@ -1,16 +0,0 @@
on:
push:
branches:
- v3-beta
pull_request:
name: Security
jobs:
Gosec:
runs-on: ubuntu-latest
steps:
- name: Fetch Repository
uses: actions/checkout@v3
- name: Run Gosec
uses: securego/gosec@master
with:
args: -exclude-dir=internal/*/ ./...

View File

@ -48,7 +48,7 @@ linters-settings:
packages:
- flag
- io/ioutil
packages-with-error-message:
packages-with-error-message:
- flag: '`flag` package is only allowed in main.go'
- io/ioutil: '`io/ioutil` package is deprecated, use the `io` and `os` package instead'