8000 Upgrade GitHub Actions · unho/python-stdnum@b36c0d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit b36c0d6

Browse files
cclaussarthurdejong
authored andcommitted
Upgrade GitHub Actions
Update checkout to v3 (no relevant changes) and setup-python to v4 (changes the names for pypy versions).
1 parent 9f79691 commit b36c0d6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/test.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@ jobs:
1212
test:
1313
runs-on: ubuntu-latest
1414
strategy:
15-
matrix:
16-
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy-2.7, pypy-3.6]
1715
fail-fast: false
16+
matrix:
17+
python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, pypy2.7, pypy3.6]
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v3
2020
- name: Set up Python ${{ matrix.python-version }}
21-
uses: actions/setup-python@v2
21+
uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
2525
run: python -m pip install --upgrade pip tox
2626
- name: Run tox
27-
run: tox -e "$(echo py${{ matrix.python-version }} | sed -e 's/[.-]//g;s/pypypy/pypy/')" --skip-missing-interpreters false
27+
run: tox -e "$(echo py${{ matrix.python-version }} | sed -e 's/[.]//g;s/pypypy/pypy/')" --skip-missing-interpreters false
2828
docs:
2929
runs-on: ubuntu-latest
3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v3
3232
- name: Set up Python 3.8
33-
uses: actions/setup-python@v2
33+
uses: actions/setup-python@v4
3434
with:
3535
python-version: 3.8
3636
- name: Install dependencies
@@ -40,9 +40,9 @@ jobs:
4040
flake8:
4141
runs-on: ubuntu-latest
4242
steps:
43-
- uses: actions/checkout@v2
43+
- uses: actions/checkout@v3
4444
- name: Set up Python 3.8
45-
uses: actions/setup-python@v2
45+
uses: actions/setup-python@v4
4646
with:
4747
python-version: 3.8
4848
- name: Install dependencies
@@ -57,7 +57,7 @@ jobs:
5757
security-events: write
5858
steps:
5959
- name: Checkout repository
60-
uses: actions/checkout@v2
60+
uses: actions/checkout@v3
6161
- name: Initialize CodeQL
6262
uses: github/codeql-action/init@v2
6363
with:

0 commit comments

Comments
 (0)
0