From fc448713ec3163535ab741d83a39727d84561730 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Thu, 22 Aug 2024 22:53:20 +0800 Subject: [PATCH] chore: update CI configuration and supported Go versions - Update golangci-lint-action version from v4 to v6 - Remove Go version 1.18 and 1.19 from the supported versions - Remove macOS build configuration and cache settings Signed-off-by: Bo-Yi Wu --- .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 0861b30..6aaddb6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,19 +21,17 @@ jobs: go-version-file: "go.mod" - name: Setup golangci-lint - uses: golangci/golangci-lint-action@v4 + 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.20", 1.21, 1.22] 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: