mirror of
https://github.com/luau-lang/luau.git
synced 2024-11-15 14:25:44 +08:00
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.
This commit is contained in:
parent
12ef94df5e
commit
88be067c0b
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user