From f53aa2eb43034e5d20a79b5e8c4e85d243145eb3 Mon Sep 17 00:00:00 2001 From: Seth Hoenig Date: Tue, 31 Oct 2023 22:27:28 +0000 Subject: [PATCH] ci: modernize linter action --- .github/workflows/ci.yaml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0fd23c3..9a29403 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,6 +1,14 @@ name: Run CI Tests on: [push] jobs: + run-lint: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - uses: golangci/golangci-lint-action@v3 + with: + version: v1.55.1 + skip-cache: true run-tests: strategy: fail-fast: false @@ -8,18 +16,14 @@ jobs: os: - ubuntu-22.04 - ubuntu-20.04 - - macos-12 + - macos-13 - windows-2022 runs-on: ${{matrix.os}} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: hashicorp/setup-golang@v1 with: version-file: go.mod - - uses: golangci/golangci-lint-action@v3 - with: - version: v1.52.2 - skip-cache: true - name: Run Go Test run: | go test -race -v ./...