From 30792dc079512bbd1b33f79dec23541e657b7092 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 6 Mar 2024 09:36:56 +0800 Subject: [PATCH] ci: refactor GitHub Actions workflows - Update the GitHub Actions workflow to use version 4 of the golangci-lint-action - Update the GitHub Actions workflow to use version 4 of the codecov-action Signed-off-by: Bo-Yi Wu --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6aa821b..622531f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -20,7 +20,7 @@ jobs: go-version-file: go.mod check-latest: true - name: Setup golangci-lint - uses: golangci/golangci-lint-action@v3 + uses: golangci/golangci-lint-action@v4 with: args: --verbose test: @@ -62,6 +62,6 @@ jobs: go test -v -covermode=atomic -coverprofile=coverage.out - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: ${{ matrix.os }},go-${{ matrix.go }}