From 88be067c0b8a2774c296563a9a463111e259896c Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Thu, 9 Dec 2021 17:50:29 -0800 Subject: [PATCH] Switch coverage build to checkout@v2 (#285) Attempt to fix coverage builds by using checkout@v2 instead of v1 which might fix the detacthed HEAD issue. On the off chance it doesn't, add extra logging around git specifically. --- .github/workflows/build.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3782886c..b797e91b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,22 +66,24 @@ jobs: coverage: runs-on: ubuntu-latest - env: - NODE_COVERALLS_DEBUG: 1 steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: install run: | sudo apt install llvm - name: make coverage run: | CXX=clang++-10 make -j2 config=coverage coverage + - name: debug coverage + run: | + git status + git log -5 + echo SHA: $GITHUB_SHA - name: upload coverage uses: coverallsapp/github-action@master with: path-to-lcov: ./coverage.info github-token: ${{ secrets.GITHUB_TOKEN }} - continue-on-error: false - uses: actions/upload-artifact@v2 with: name: coverage