From 481a53512d17319e1b5bda731fe02aff671d5264 Mon Sep 17 00:00:00 2001 From: Tom Hu Date: Thu, 14 Sep 2023 09:39:45 -0700 Subject: [PATCH] chore(ci): upgrade to codecov v4 --- .github/workflows/ci.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ad6f2e5..4aae51e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,7 +5,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Java uses: actions/setup-java@v2 with: @@ -16,12 +16,9 @@ jobs: run: lein test - name: Cloverage run: CLOVERAGE_VERSION=1.1.1 lein cloverage --codecov - - name: Upload to Codecov (Action) - uses: codecov/codecov-action@v2 + - name: Upload to Codecov + uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_ORG_TOKEN }} with: file: target/coverage/codecov.json - - name: Upload to Codecov (Uploader) - run: | - curl -Os https://uploader.codecov.io/latest/linux/codecov - chmod +x codecov - ./codecov -f target/coverage/codecov.json