8000 Update GitHub Actions (#433) · python/core-workflow@3097103 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3097103

Browse files
authored
Update GitHub Actions (#433)
1 parent 02cf279 commit 3097103

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Tests
22

3-
on:
4-
push:
5-
branches:
6-
- master
7-
pull_request:
8-
branches:
9-
- master
3+
on: [push, pull_request, workflow_dispatch]
104

115
jobs:
126
build_ubuntu:
@@ -17,13 +11,16 @@ jobs:
1711
- '3.8'
1812
- '3.9'
1913
- '3.10'
14+
- '3.11'
2015
name: ${{ matrix.python }}
2116
runs-on: ubuntu-latest
2217
steps:
23-
- uses: actions/checkout@v2
24-
- uses: actions/setup-python@v2
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-python@v4
2520
with:
2621
python-version: ${{ matrix.python }}
22+
cache: pip
23+
cache-dependency-path: ".github/workflows/tests.yml"
2724
- name: setup
2825
run: |
2926
python --version

0 commit comments

Comments
 (0)
0