From d4f59e6993d36ab3822f532818f085af3b1d929e Mon Sep 17 00:00:00 2001 From: Eoghan Russell Date: Tue, 27 Feb 2024 10:29:59 +0000 Subject: [PATCH] Update ci Signed-off-by: Eoghan Russell --- .github/workflows/static-scan.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/static-scan.yml b/.github/workflows/static-scan.yml index 3ad2224b..fb9a7ac0 100644 --- a/.github/workflows/static-scan.yml +++ b/.github/workflows/static-scan.yml @@ -2,16 +2,18 @@ name: Go-static-analysis on: [push, pull_request] jobs: golangci: - name: Lint + name: lint runs-on: ubuntu-latest steps: - - name: Set up Go - uses: actions/setup-go@v4 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v5 with: - go-version: "1.20" - - uses: actions/checkout@v3 - - name: run make lint - run: make lint + go-version: '1.21' + cache: false + - name: golangci-lint + uses: golangci/golangci-lint-action@v4 + with: + version: v1.54 shellcheck: name: Shellcheck