From 0461c8313c2183314fc9d066e830bc2171542e9f Mon Sep 17 00:00:00 2001 From: nihuini Date: Tue, 11 Jun 2024 16:17:20 +0800 Subject: [PATCH] ah --- .github/workflows/test-coverage.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index 26ddaa82fcf0..4bb9cbd1cdf1 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -53,15 +53,10 @@ jobs: lcov -r lcov.info '*/build/*' -o lcov.info lcov --list lcov.info - name: codecov - run: | - curl https://uploader.codecov.io/verification.gpg | gpg --no-default-keyring --keyring trustedkeys.gpg --import - curl -Os https://uploader.codecov.io/latest/linux/codecov - curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM - curl -Os https://uploader.codecov.io/latest/linux/codecov.SHA256SUM.sig - gpgv codecov.SHA256SUM.sig codecov.SHA256SUM - shasum -a 256 -c codecov.SHA256SUM - chmod +x codecov - ./codecov -t ${{ secrets.CODECOV_TOKEN }} -C ${{ github.sha }} -B ${{ github.ref }} -f build/lcov.info + uses: codecov/codecov-action@v4 + with: + token: ${{ secrets.CODECOV_TOKEN }} + file: build/lcov.info linux-gcc-x64-avx512-spr: runs-on: ubuntu-22.04