Explicitly declare GitHub Action versions

This commit is contained in:
Dan Yeaw 2022-05-01 10:58:21 -04:00
parent 8a67499aea
commit 74750b3fd7
No known key found for this signature in database
GPG Key ID: 86B9FEF88B780F2B

View File

@ -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