8000 Upgrade more GitHub Actions (#1088) · PyMySQL/PyMySQL@b1399c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit b1399c9

Browse files
authored
Upgrade more GitHub Actions (#1088)
Followup to #1080
1 parent 5fa7876 commit b1399c9

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/test.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010

1111
jobs:
1212
test:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-latest
1414
strategy:
1515
fail-fast: false
1616
matrix:
@@ -49,7 +49,7 @@ jobs:
4949
- /run/mysqld:/run/mysqld
5050

5151
steps:
52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v3
5353

5454
- name: Workaround MySQL container permissions
5555
if: startsWith(matrix.db, 'mysql')
@@ -58,15 +58,15 @@ jobs:
5858
/usr/bin/docker ps --all --filter status=exited --no-trunc --format "{{.ID}}" | xargs -r /usr/bin/docker start
5959
6060
- name: Set up Python ${{ matrix.py }}
61-
uses: actions/setup-python@v2
61+
uses: actions/setup-python@v4
6262
with:
6363
python-version: ${{ matrix.py }}
6464
cache: 'pip'
6565
cache-dependency-path: 'requirements-dev.txt'
6666

6767
- name: Install dependency
6868
run: |
69-
pip install -U -r requirements-dev.txt
69+
pip install --upgrade -r requirements-dev.txt
7070
7171
- name: Set up MySQL
7272
run: |
@@ -107,16 +107,16 @@ jobs:
107107
coveralls:
108108
if: github.repository == 'PyMySQL/PyMySQL'
109109
name: Finish coveralls
110-
runs-on: ubuntu-20.04
110+
runs-on: ubuntu-latest
111111
needs: test
112112
steps:
113113
- name: requirements.
114114
run: |
115115
echo coveralls > requirements.txt
116116
117-
- uses: actions/setup-python@v2
117+
- uses: actions/setup-python@v4
118118
with:
119-
python-version: '3.9'
119+
python-version: '3.x'
120120
cache: 'pip'
121121

122122
- name: Finished

0 commit comments

Comments
 (0)
0