From 5f5febb4f86de5cb6da4507946b901c81379a16c Mon Sep 17 00:00:00 2001 From: m00g3n Date: Mon, 4 Sep 2023 10:14:49 +0200 Subject: [PATCH] add govulncheck --- .github/workflows/golangci-lint.yaml | 2 +- .github/workflows/run-tests.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml index e7fd545f..65a8434f 100644 --- a/.github/workflows/golangci-lint.yaml +++ b/.github/workflows/golangci-lint.yaml @@ -48,7 +48,7 @@ jobs: # skip-cache: true # Optional: if set to true, then the action won't cache or restore ~/go/pkg. - # skip-pkg-cache: true + skip-pkg-cache: true # Optional: if set to true, then the action won't cache or restore ~/.cache/go-build. # skip-build-cache: true diff --git a/.github/workflows/run-tests.yaml b/.github/workflows/run-tests.yaml index efd583ef..3117f287 100644 --- a/.github/workflows/run-tests.yaml +++ b/.github/workflows/run-tests.yaml @@ -30,3 +30,6 @@ jobs: - name: Run unit tests run: make test + + - name: govulncheck + uses: golang/govulncheck-action@v1