CI: Use checkout@v3

Also restrict ourselves to shallow clones for the Build workflow.
This commit is contained in:
Robert Adam 2022-05-01 17:35:23 +02:00
parent 4870147ac4
commit df32f042e7
2 changed files with 3 additions and 2 deletions

View File

@ -27,9 +27,10 @@ jobs:
shell: bash
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 1
- name: Set environment variables

View File

@ -12,7 +12,7 @@ jobs:
run: sudo apt install python3
shell: bash
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# Assume that there are not >200 new commits that need checking
fetch-depth: 200