From bbe1c5d56653133bb9457886f63d19db9df9a115 Mon Sep 17 00:00:00 2001 From: appleboy Date: Sun, 24 Nov 2024 23:57:12 +0800 Subject: [PATCH] ci(deps): update CI workflows and Codecov action version - Remove support for Go versions 1.20 and 1.21 in the GitHub Actions workflow - Update Codecov action from version 4 to version 5 Signed-off-by: appleboy --- .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 5cc3d69..439a20f 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -39,7 +39,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - go: ["1.20", 1.21, 1.22, 1.23] + go: [1.22, 1.23] include: - os: ubuntu-latest go-build: ~/.cache/go-build @@ -76,6 +76,6 @@ jobs: go test -v -run=^$ -count 5 -benchmem -bench . ./... - name: Upload coverage to Codecov - uses: codecov/codecov-action@v4 + uses: codecov/codecov-action@v5 with: flags: ${{ matrix.os }},go-${{ matrix.go }}