Resolve workflow deprecations

This commit is contained in:
mtkennerly 2022-11-01 00:47:05 +08:00
parent f1889f668c
commit 1a3a67c1e5
No known key found for this signature in database
GPG key ID: E764BE00BE6E6408
2 changed files with 4 additions and 4 deletions

View file

@ -14,10 +14,10 @@ jobs:
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# This is necessary so that we have the tags.
fetch-depth: 0

View file

@ -27,10 +27,10 @@ jobs:
example:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.7'
- uses: actions/checkout@v2
- uses: actions/checkout@v3
with:
# This is necessary so that we have the tags.
fetch-depth: 0