Github: fix unit tests workflow (#2117)

This commit is contained in:
あく 2022-12-11 05:34:12 +09:00 committed by GitHub
parent 2954ec6d97
commit 27921e42ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,6 +11,12 @@ jobs:
run_units_on_test_bench: run_units_on_test_bench:
runs-on: [self-hosted, FlipperZeroTest] runs-on: [self-hosted, FlipperZeroTest]
steps: steps:
- name: 'Decontaminate previous build leftovers'
run: |
if [ -d .git ]; then
git submodule status || git checkout "$(git rev-list --max-parents=0 HEAD | tail -n 1)"
fi
- name: Checkout code - name: Checkout code
uses: actions/checkout@v3 uses: actions/checkout@v3
with: with: