1717 fail-fast : false
1818 matrix :
1919 os :
20- - ubuntu
21- - windows
20+ - [" ubuntu", "ubuntu-20.04"]
21+ - [" windows", "windows-latest"]
2222 config :
2323 # [Python version, tox env]
2424 - ["3.9", "lint"]
@@ -32,21 +32,21 @@ jobs:
3232 - ["3.9", "coverage"]
3333 - ["3.9", "py39-datetime"]
3434 exclude :
35- - { os: windows, config: ["3.9", "lint"] }
36- - { os: windows, config: ["3.9", "docs"] }
37- - { os: windows, config: ["3.9", "coverage"] }
35+ - { os: [" windows", "windows-latest"] , config: ["3.9", "lint"] }
36+ - { os: [" windows", "windows-latest"] , config: ["3.9", "docs"] }
37+ - { os: [" windows", "windows-latest"] , config: ["3.9", "coverage"] }
3838
39- runs-on : ${{ matrix.os }}-latest
39+ runs-on : ${{ matrix.os[1] }}
4040 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
41- name : ${{ matrix.os }}-${{ matrix.config[1] }}
41+ name : ${{ matrix.os[0] }}-${{ matrix.config[1] }}
4242 steps :
43- - uses : actions/checkout@v2
43+ - uses : actions/checkout@v3
4444 - name : Set up Python
45- uses : actions/setup-python@v2
45+ uses : actions/setup-python@v4
4646 with :
4747 python-version : ${{ matrix.config[0] }}
4848 - name : Pip cache
49- uses : actions/cache@v2
49+ uses : actions/cache@v3
5050 with :
5151 path : ~/.cache/pip
5252 key : ${{ runner.os }}-pip-${{ matrix.config[0] }}-${{ hashFiles('setup.*', 'tox.ini') }}
0 commit comments