Skip to content

Commit 22676f9

Browse files
authored
Update tests action (#357)
* Update github action * fix typo * Change to new GITHUB_OUTPUT syntax * Use `version=` instead of `name=version::`
1 parent b3f9a68 commit 22676f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fail-fast: false
1818
matrix:
1919
os: [ubuntu-latest, macos-13, windows-latest]
20-
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", 3.12, 3.13]
20+
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12, 3.13]
2121

2222
steps:
2323
- uses: actions/checkout@v4
@@ -34,7 +34,7 @@ jobs:
3434
id: full-python-version
3535
shell: bash
3636
run: |
37-
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
37+
echo version=$(python -c "import sys; print('-'.join(map(str, sys.version_info)))") >> "$GITHUB_OUTPUT"
3838
3939
- name: Install Poetry
4040
run: pipx install poetry
@@ -46,7 +46,7 @@ jobs:
4646
poetry env use python
4747
4848
- name: Set up cache
49-
uses: actions/cache@v3
49+
uses: actions/cache@v4
5050
id: cache
5151
with:
5252
path: .venv

0 commit comments

Comments
 (0)