CI: update action dependencies

Fixes Node 12 deprecation warnings.

- actions/checkout@v2 --> v3
- actions/setup-python@v2 --> v4
- fkirc/skip-duplicate-actions@v3.4.1 --> v5.3.0
  [pinned to hash]

Also set continue-on-error true in skip_duplicate_runs job,
per recommendation in skip-duplicate-actions release notes.
This commit is contained in:
medmunds
2022-12-18 16:08:49 -08:00
committed by Mike Edmunds
parent b86613cf15
commit 07f5d5f224
3 changed files with 11 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ jobs:
envlist: ${{ steps.generate-envlist.outputs.envlist }}
steps:
- name: Get code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install tox-gh-matrix
run: |
python -m pip install 'tox<4' 'tox-gh-matrix<0.2'
@@ -47,16 +47,16 @@ jobs:
timeout-minutes: 15
steps:
- name: Get code
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Setup Python ${{ matrix.tox.python.version }}
# Ensure matrix Python version is installed and available for tox
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.tox.python.spec }}
- name: Setup default Python
# Change default Python version back to something consistent
# for installing/running tox
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: "3.8"
- name: Install tox