Explicitly declare GitHub Action versions
This commit is contained in:
parent
8a67499aea
commit
74750b3fd7
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@ -22,11 +22,11 @@ jobs:
|
||||
if: ${{ needs.pre_job.outputs.should_skip != 'true' }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3.0.2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v3
|
||||
uses: actions/setup-python@v3.1.2
|
||||
- name: Lint with Pre-commit
|
||||
uses: pre-commit/action@v2.0.3
|
||||
|
||||
@ -39,9 +39,9 @@ jobs:
|
||||
matrix:
|
||||
python-version: ['3.8', '3.9', '3.10']
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v3.0.2
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
uses: actions/setup-python@v3
|
||||
uses: actions/setup-python@v3.1.2
|
||||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
- name: Install dependencies
|
||||
|
Loading…
x
Reference in New Issue
Block a user