From e189cad48e457f998d2923e952a00dc6af12973c Mon Sep 17 00:00:00 2001 From: microshine Date: Mon, 23 Dec 2024 13:42:44 +0100 Subject: [PATCH] ci: update Coveralls action to v2 and remove outdated lcov.info fix --- .github/workflows/test.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e3262f6..230db41 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,13 +28,7 @@ jobs: - name: Run test with coverage run: npm run coverage - # Fixes problem with incorrect SF paths. See https://github.com/coverallsapp/github-action/issues/125 - - name: Update lcov.info - run: | - sed -E "s/SF:(.+file:(.+))/SF:\2/g" ./coverage/lcov.info > coverage/lcov.new.info - mv ./coverage/lcov.new.info ./coverage/lcov.info - - name: Coveralls - uses: coverallsapp/github-action@master + uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }}