diff --git a/.github/workflows/compile.yml b/.github/workflows/compile.yml index 33064fa4a..54edaf24b 100644 --- a/.github/workflows/compile.yml +++ b/.github/workflows/compile.yml @@ -29,8 +29,9 @@ jobs: echo $PWD ; \ ls -l ; git remote add origin2 git@github.com:riscv-software-src/riscv-tests.git ; \ - git branch -a ; \ - git checkout -t origin2/riscv-tests-sail ; \ + git fetch --all + git branch --all ; \ + git checkout -t origin/riscv-tests-sail ; \ ls -l ; - name: Ensure pre-commit checks pass run: pip install pre-commit && pre-commit run --all-files --show-diff-on-failure --color=always