From f8de641da759a15f728285b615bf7c03c9cb17b3 Mon Sep 17 00:00:00 2001 From: Sterling Hanenkamp Date: Thu, 13 Jun 2024 23:31:52 -0500 Subject: [PATCH] fix: linter --- .github/workflows/test.yaml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f6eae63..752fab0 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -10,8 +10,11 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: 1.20 + go-version: '1.20' cache: false + - uses: golangci/golangci-lint-action@v6 + with: + version: v1.59 - run: go test -v ./... - run: | coveredFiles=$(go list ./... | grep -v 'github.com/zostay/today/\(cmd\|tools/gen/verses\)') @@ -27,10 +30,3 @@ jobs: echo "Coverage is less than $REQUIRED_COVERAGE %" exit 1 fi - - uses: actions/setup-go@v5 - with: - go-version: 1.21 - cache: false - - uses: golangci/golangci-lint-action@v6 - with: - version: v1.59