diff --git a/.github/workflows/gosec.yaml b/.github/workflows/gosec.yaml new file mode 100644 index 000000000..da2e6941c --- /dev/null +++ b/.github/workflows/gosec.yaml @@ -0,0 +1,25 @@ +name: Gosec +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + tests: + runs-on: ubuntu-latest + env: + GO111MODULE: on + steps: + - name: Checkout Source + uses: actions/checkout@v4 + - uses: actions/setup-go@v5 + with: + go-version: '1.22' + cache: false + - name: Run Gosec + uses: securego/gosec@master + with: + args: '-exclude=G115,G406,G507 ./...' \ No newline at end of file