@@ -35,11 +35,11 @@ jobs:
3535 python-version : pypy3
3636
3737 steps :
38- - uses : " actions/checkout@v3 "
38+ - uses : actions/checkout@v4
3939 with :
4040 # We want our tags here
4141 fetch-depth : 0
42- - uses : " actions/setup-python@v4 "
42+ - uses : actions/setup-python@v5
4343 with :
4444 python-version : " ${{ matrix.python-version }}"
4545 - name : " Install dependencies"
@@ -53,29 +53,32 @@ jobs:
5353 run : " python -m tox"
5454
5555 - name : Upload coverage data
56- uses : actions/upload-artifact@v3
56+ uses : actions/upload-artifact@v4
5757 with :
58- name : coverage-data
59- path : " .coverage. *"
58+ name : coverage-data-${{ matrix.python-version }}-${{ matrix.os }}
59+ path : " .coverage*"
6060 if-no-files-found : ignore
61+ include-hidden-files : true
62+
6163
6264 coverage :
6365 needs :
6466 - tests
6567 runs-on : ubuntu-latest
6668 steps :
67- - uses : actions/checkout@v3
68- - uses : actions/setup-python@v4
69+ - uses : actions/checkout@v4
70+ - uses : actions/setup-python@v5
6971 with :
7072 python-version : " 3.12"
7173
7274 - name : Install coverage
7375 run : python -m pip install --upgrade coverage[toml]
7476
7577 - name : Download coverage data
76- uses : actions/download-artifact@v2
78+ uses : actions/download-artifact@v4
7779 with :
78- name : coverage-data
80+ pattern : coverage-data-*
81+ merge-multiple : true
7982
8083 - name : Combine coverage
8184 run : python -m coverage combine
8588 run : python -m coverage html --skip-covered --skip-empty --ignore-errors
8689
8790 - name : Upload the HTML report
88- uses : actions/upload-artifact@v3
91+ uses : actions/upload-artifact@v4
8992 with :
9093 name : html-report
9194 path : htmlcov
99102 runs-on : " ubuntu-latest"
100103
101104 steps :
102- - uses : " actions/checkout@v3 "
105+ - uses : actions/checkout@v4
103106 with :
104107 # We want our tags here
105108 fetch-depth : 0
@@ -114,8 +117,8 @@ jobs:
114117 runs-on : " ${{ matrix.os }}"
115118
116119 steps :
117- - uses : " actions/checkout@v3 "
118- - uses : " actions/setup-python@v4 "
120+ - uses : actions/checkout@v4
121+ - uses : actions/setup-python@v5
119122 with :
120123 python-version : " 3.12"
121124 - name : " Install in dev mode"
0 commit comments