Skip to content

Commit 5616b04

Browse files
committed
Update github actions
1 parent 4a3c4ec commit 5616b04

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

.github/workflows/main.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,17 @@ permissions: {}
1818

1919
jobs:
2020
test:
21-
runs-on: ubuntu-20.04
21+
runs-on: ubuntu-22.04
2222
continue-on-error: ${{ matrix.allow_failure }}
2323
timeout-minutes: 15
2424
permissions:
2525
contents: read
2626
steps:
27-
- uses: actions/checkout@v2
27+
- uses: actions/checkout@v3
2828
with:
2929
persist-credentials: false
3030

31-
- uses: actions/setup-python@v2
31+
- uses: actions/setup-python@v4
3232
with:
3333
python-version: ${{ matrix.python }}
3434

@@ -55,7 +55,7 @@ jobs:
5555

5656
- name: Report coverage
5757
if: contains(matrix.name, 'coverage')
58-
uses: codecov/codecov-action@v2
58+
uses: codecov/codecov-action@v3
5959
with:
6060
fail_ci_if_error: true
6161
files: ./coverage.xml
@@ -65,7 +65,7 @@ jobs:
6565
matrix:
6666
include:
6767
- name: linting,docs
68-
python: 3.8
68+
python: '3.8'
6969
allow_failure: false
7070

7171
- name: py310-dj41-postgres-xdist-coverage
@@ -81,40 +81,40 @@ jobs:
8181
allow_failure: false
8282

8383
- name: py39-dj41-mysql_innodb-coverage
84-
python: 3.9
84+
python: '3.9'
8585
allow_failure: false
8686

8787
- name: py39-dj40-mysql_innodb-coverage
88-
python: 3.9
88+
python: '3.9'
8989
allow_failure: false
9090

9191
- name: py39-dj32-mysql_innodb-xdist-coverage
92-
python: 3.9
92+
python: '3.9'
9393
allow_failure: false
9494

9595
- name: py38-dj41-sqlite-xdist-coverage
96-
python: 3.8
96+
python: '3.8'
9797
allow_failure: false
9898

9999
- name: py38-dj40-sqlite-xdist-coverage
100-
python: 3.8
100+
python: '3.8'
101101
allow_failure: false
102102

103103
- name: py38-dj32-sqlite-xdist-coverage
104-
python: 3.8
104+
python: '3.8'
105105
allow_failure: false
106106

107107
- name: py310-djmain-sqlite-coverage
108108
python: '3.10'
109109
allow_failure: true
110110

111111
- name: py37-dj32-mysql_myisam-coverage
112-
python: 3.7
112+
python: '3.7'
113113
allow_failure: false
114114

115115
# pypy3: not included with coverage reports (much slower then).
116116
- name: pypy3-dj32-postgres
117-
python: pypy3
117+
python: 'pypy3.9'
118118
allow_failure: false
119119

120120
deploy:
@@ -125,14 +125,14 @@ jobs:
125125
contents: read
126126

127127
steps:
128-
- uses: actions/checkout@v2
128+
- uses: actions/checkout@v3
129129
with:
130130
fetch-depth: 0
131131
persist-credentials: false
132132

133-
- uses: actions/setup-python@v2
133+
- uses: actions/setup-python@v4
134134
with:
135-
python-version: "3.8"
135+
python-version: "3.10"
136136

137137
- name: Install dependencies
138138
run: |
@@ -143,7 +143,7 @@ jobs:
143143
run: python -m build
144144

145145
- name: Publish package
146-
uses: pypa/gh-action-pypi-publish@v1.4.1
146+
uses: pypa/gh-action-pypi-publish@v1.6.4
147147
with:
148148
user: __token__
149149
password: ${{ secrets.pypi_token }}

0 commit comments

Comments
 (0)