Update `actions/checkout` to v3. (#1433)

The second version of the checkout action is no longer supported by Github Actions because it uses Node.js 12.

* .github/workflows/build-macos.yml
* .github/workflows/test.yml
This commit is contained in:
yfprojects 2022-10-15 11:53:29 +00:00 committed by GitHub
parent 93307d278d
commit ddcd3c7b0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@ jobs:
steps:
- name: Check out selected branch
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.branch }}
- name: Install system dependencies

View File

@ -14,7 +14,7 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
@ -43,7 +43,7 @@ jobs:
os: [ubuntu-18.04, ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with: