Skip to content

Commit 1c6e7a7

Browse files
Ryan Whitmorebrandonwillard
authored andcommitted
Update the github actions tests file to include more modern actions
dependency versions.
1 parent ef4e39b commit 1c6e7a7

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

.github/workflows/tests.yml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
outputs:
2323
changes: ${{ steps.changes.outputs.src }}
2424
steps:
25-
- uses: actions/checkout@v2
25+
- uses: actions/checkout@v4
2626
with:
2727
fetch-depth: 0
2828
- uses: dorny/paths-filter@v2
@@ -37,21 +37,23 @@ jobs:
3737
- *python
3838
- '.github/**/*.yml'
3939
- 'setup.cfg'
40+
- 'pyproject.toml'
4041
- 'requirements.txt'
4142
- '.coveragerc'
4243
- '.pre-commit-config.yaml'
44+
- 'coverage.xml'
4345
4446
style:
4547
name: Check code style
4648
needs: changes
4749
runs-on: ubuntu-latest
4850
if: ${{ needs.changes.outputs.changes == 'true' }}
4951
steps:
50-
- uses: actions/checkout@v2
51-
- uses: actions/setup-python@v2
52+
- uses: actions/checkout@v4
53+
- uses: actions/setup-python@v4
5254
with:
53-
python-version: 3.9
54-
- uses: pre-commit/action@v2.0.0
55+
python-version: 3.13
56+
- uses: pre-commit/action@v3.0.0
5557

5658
test:
5759
needs:
@@ -65,9 +67,10 @@ jobs:
6567
- 3.9
6668
- "3.10"
6769
- "3.11"
70+
- "3.12"
6871
steps:
69-
- uses: actions/checkout@v2
70-
- uses: actions/setup-python@v2
72+
- uses: actions/checkout@v4
73+
- uses: actions/setup-python@v4
7174
with:
7275
python-version: ${{ matrix.python-version }}
7376
- name: Install dependencies
@@ -78,8 +81,9 @@ jobs:
7881
run: |
7982
pytest -v tests/ --cov=etuples --cov-report=xml:./coverage.xml
8083
- name: Coveralls
81-
uses: AndreMiras/coveralls-python-action@develop
84+
uses: coverallsapp/github-action@v2
8285
with:
86+
github-token: ${{ secrets.GITHUB_TOKEN }}
8387
parallel: true
8488
flag-name: run-${{ matrix.python-version }}
8589

@@ -100,6 +104,7 @@ jobs:
100104
runs-on: ubuntu-latest
101105
steps:
102106
- name: Coveralls Finished
103-
uses: AndreMiras/coveralls-python-action@develop
107+
uses: coverallsapp/github-action@v2
104108
with:
109+
github-token: ${{ secrets.GITHUB_TOKEN }}
105110
parallel-finished: true

0 commit comments

Comments
 (0)