Use actions/checkout@v2

This commit is contained in:
Emmanuel Engelhart 2022-06-26 19:53:49 +02:00 committed by Kelson
parent 16197afc95
commit 6891ce3b57
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ jobs:
runs-on: macos-latest runs-on: macos-latest
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v1 uses: actions/checkout@v2
- name: Setup python 3.10 - name: Setup python 3.10
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
@ -99,7 +99,7 @@ jobs:
'git', 'clone', 'git', 'clone',
'https://github.com/${{github.repository}}', 'https://github.com/${{github.repository}}',
'--depth=1', '--depth=1',
'--branch', '${{steps.extract_branch.outputs.branch}}' '--branch', ${{steps.extract_branch.outputs.branch}}'
] ]
check_call(command, cwd=environ['HOME']) check_call(command, cwd=environ['HOME'])
- name: Install deps - name: Install deps