From e686e2d62fcc8b62b990cc63cc8af1ce03db3608 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Sep 2023 09:48:22 -0700 Subject: [PATCH] chore(ci): upgrade to codecov v4 --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2ba8455..28f8ae8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,13 +6,13 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 + - uses: actions/setup-go@v4 with: - fetch-depth: 2 - - uses: actions/setup-go@v2 - with: - go-version: '1.18' + go-version: 'stable' - name: Run coverage run: go test -race -coverprofile=coverage.txt -covermode=atomic - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }}