From 6d991674196f52cf0b620fc9ac2fbf51ccf87e4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Ny=C3=ADri?= Date: Fri, 2 Feb 2024 07:47:36 +0100 Subject: [PATCH] add gosec linter --- .github/workflows/gosec.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/gosec.yml diff --git a/.github/workflows/gosec.yml b/.github/workflows/gosec.yml new file mode 100644 index 0000000..34ef6d0 --- /dev/null +++ b/.github/workflows/gosec.yml @@ -0,0 +1,20 @@ +name: Run 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@v3 + - name: Run Gosec Security Scanner + uses: securego/gosec@master + with: + args: ./... \ No newline at end of file