From 4619c4e65cc3f0a65a56cf2ca6570835113fc63a Mon Sep 17 00:00:00 2001 From: ross-spencer Date: Fri, 15 Nov 2024 19:18:20 +0100 Subject: [PATCH] WIP... --- .github/workflows/linting.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 3b7c559..fc85d81 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -13,11 +13,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: "checkout" - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: "fetch unshallow" run: git fetch --prune --unshallow - name: Set up Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: ${{ matrix.go }} - name: "fmt" @@ -25,10 +25,8 @@ jobs: - name: "imports" run: | "go install golang.org/x/tools/cmd/goimports@latest" - if [ "$(goimports -l . | wc -l)" -gt 0 ]; then echo "goimports failed, please run again locally"; exit 1; fi - name: "vet" run: "go vet ./..." - name: staticcheck run: | "go install honnef.co/go/tools/cmd/staticcheck@latest" - "staticcheck ./..."