mirror of
https://github.com/pacnpal/django-anymail.git
synced 2025-12-23 21:11:05 -05:00
CI/CD: upgrade workflow dependencies
This commit is contained in:
12
.github/workflows/test.yml
vendored
12
.github/workflows/test.yml
vendored
@@ -13,12 +13,12 @@ on:
|
||||
|
||||
jobs:
|
||||
get-envlist:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
outputs:
|
||||
envlist: ${{ steps.generate-envlist.outputs.envlist }}
|
||||
steps:
|
||||
- name: Get code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Install tox-gh-matrix
|
||||
run: |
|
||||
python -m pip install 'tox<4' 'tox-gh-matrix<0.3'
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
python -m tox --gh-matrix-dump # for debugging
|
||||
|
||||
test:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
needs: get-envlist
|
||||
strategy:
|
||||
matrix:
|
||||
@@ -41,16 +41,16 @@ jobs:
|
||||
timeout-minutes: 15
|
||||
steps:
|
||||
- name: Get code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
- name: Setup Python ${{ matrix.tox.python.version }}
|
||||
# Ensure matrix Python version is installed and available for tox
|
||||
uses: actions/setup-python@v4
|
||||
uses: actions/setup-python@v5
|
||||
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@v4
|
||||
uses: actions/setup-python@v5
|
||||
with:
|
||||
python-version: "3.8"
|
||||
- name: Install tox
|
||||
|
||||
Reference in New Issue
Block a user