Skip to content

Commit fa53806

Browse files
authored
Merge pull request #1147 from hugovk/bump-gha
Update GitHub Actions
2 parents 44fdf77 + 5a47c22 commit fa53806

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@v3
1616
with:
1717
fetch-depth: 0
1818

1919
- name: Set up Python
20-
uses: actions/setup-python@v2
20+
uses: actions/setup-python@v4
2121
with:
22-
python-version: 3.8
22+
python-version: 3.x
2323

2424
- name: Install dependencies
2525
run: |

.github/workflows/test.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ on: [push, pull_request]
66
jobs:
77
build:
88
name: build (Python ${{ matrix.python-version }}, Django ${{ matrix.django-version }})
9-
runs-on: ubuntu-18.04
9+
runs-on: ubuntu-latest
1010

1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
14+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12-dev']
1515
django-version: ['3.2', '4.0', '4.1', 'main']
1616

1717
exclude:
@@ -33,6 +33,11 @@ jobs:
3333
- python-version: '3.11'
3434
django-version: '4.0'
3535

36+
- python-version: '3.12-dev'
37+
django-version: '3.2'
38+
- python-version: '3.12-dev'
39+
django-version: '4.0'
40+
3641
services:
3742

3843
postgres:
@@ -65,20 +70,20 @@ jobs:
6570
options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
6671

6772
steps:
68-
- uses: actions/checkout@v2
73+
- uses: actions/checkout@v3
6974

7075
- name: Set up Python ${{ matrix.python-version }}
71-
uses: actions/setup-python@v2
76+
uses: actions/setup-python@v4
7277
with:
7378
python-version: ${{ matrix.python-version }}
7479

7580
- name: Get pip cache dir
7681
id: pip-cache
7782
run: |
78-
echo "::set-output name=dir::$(pip cache dir)"
83+
echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT
7984
8085
- name: Cache
81-
uses: actions/cache@v2
86+
uses: actions/cache@v3
8287
with:
8388
path: ${{ steps.pip-cache.outputs.dir }}
8489
key:
@@ -98,6 +103,6 @@ jobs:
98103
DJANGO: ${{ matrix.django-version }}
99104

100105
- name: Upload coverage
101-
uses: codecov/codecov-action@v1
106+
uses: codecov/codecov-action@v3
102107
with:
103108
name: Python ${{ matrix.python-version }}

AUTHORS.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ Authors
5858
- Hanyin Zhang
5959
- Hernan Esteves (`sevetseh28 <https://github.com/sevetseh28>`_)
6060
- Hielke Walinga (`hwalinga <https://github.com/hwalinga>`_)
61+
- Hugo van Kemenade (`hugovk <https://github.com/hugovk>`_)
6162
- Jack Cushman (`jcushman <https://github.com/jcushman>`_)
6263
- Jake Howard (`RealOrangeOne <https://github.com/realorangeone>`_)
6364
- James Muranga (`jamesmura <https://github.com/jamesmura>`_)

0 commit comments

Comments
 (0)