11name : Tests
22on :
33 push :
4- branches :
5- - main
6- - ' *.x'
7- paths-ignore :
8- - ' docs/**'
9- - ' *.md'
10- - ' *.rst'
4+ branches : [main, stable]
5+ paths-ignore : ['docs/**', '*.md', '*.rst']
116 pull_request :
12- paths-ignore :
13- - ' docs/**'
14- - ' *.md'
15- - ' *.rst'
7+ paths-ignore : [ 'docs/**', '*.md', '*.rst' ]
168jobs :
179 tests :
1810 name : ${{ matrix.name || matrix.python }}
3325 - {name: Minimum Versions, python: '3.12', tox: py-min}
3426 - {name: Development Versions, python: '3.9', tox: py-dev}
3527 steps :
36- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
37- - uses : actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2 .0
28+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
29+ - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3 .0
3830 with :
3931 python-version : ${{ matrix.python }}
4032 allow-prereleases : true
@@ -45,14 +37,14 @@ jobs:
4537 typing :
4638 runs-on : ubuntu-latest
4739 steps :
48- - uses : actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
49- - uses : actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2 .0
40+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
41+ - uses : actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3 .0
5042 with :
5143 python-version : ' 3.x'
5244 cache : pip
5345 cache-dependency-path : requirements*/*.txt
5446 - name : cache mypy
55- uses : actions/cache@3624ceb22c1c5a301c8db4169662070a689d9ea8 # v4.1.1
47+ uses : actions/cache@6849a6489940f00c2f30c0fb92c6274307ccb58a # v4.1.2
5648 with :
5749 path : ./.mypy_cache
5850 key : mypy|${{ hashFiles('pyproject.toml') }}
0 commit comments