From b0f8f213e9eb46c823bdd5fabf56de4e4dfa0033 Mon Sep 17 00:00:00 2001 From: appleboy Date: Fri, 15 Nov 2024 01:01:46 +0800 Subject: [PATCH] ci(github): update CI configuration and dependencies - Update golangci-lint action from v5 to v6 - Update Go versions to test from [1.18, 1.19, "1.20", 1.21, 1.22] to [1.21, 1.22, 1.23] - Remove macOS from the build matrix Signed-off-by: appleboy --- .github/workflows/go.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index b3e8d89..f39e37d 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -23,19 +23,17 @@ jobs: go-version-file: go.mod check-latest: true - name: Setup golangci-lint - uses: golangci/golangci-lint-action@v5 + uses: golangci/golangci-lint-action@v6 with: args: --verbose test: strategy: matrix: os: [ubuntu-latest] - go: [1.18, 1.19, "1.20", 1.21, 1.22] + go: [1.21, 1.22, 1.23] include: - os: ubuntu-latest go-build: ~/.cache/go-build - - os: macos-latest - go-build: ~/Library/Caches/go-build name: ${{ matrix.os }} @ Go ${{ matrix.go }} runs-on: ${{ matrix.os }} env: