From 6761fac630f530fa09a782bbd54c320c9d7a20aa Mon Sep 17 00:00:00 2001 From: Michael Sverdlov Date: Thu, 25 Jul 2024 17:51:06 +0300 Subject: [PATCH] add actions --- actions/golangci-lint/action.yml | 4 ++++ actions/gosec-scanner/action.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/actions/golangci-lint/action.yml b/actions/golangci-lint/action.yml index bc02f76..20dd31f 100644 --- a/actions/golangci-lint/action.yml +++ b/actions/golangci-lint/action.yml @@ -4,6 +4,10 @@ description: 'CLA Assistant' runs: using: 'composite' steps: + - name: Go mod download + shell: bash + run: go mod download + - name: Static Code Analysis uses: golangci/golangci-lint-action@v6 with: diff --git a/actions/gosec-scanner/action.yml b/actions/gosec-scanner/action.yml index 7dbab92..8e0037e 100644 --- a/actions/gosec-scanner/action.yml +++ b/actions/gosec-scanner/action.yml @@ -4,6 +4,10 @@ description: 'Static Code Analysis with golangci' runs: using: 'composite' steps: + - name: Go mod download + shell: bash + run: go mod download + - name: Run Gosec Security Scanner uses: securego/gosec@master with: