Skip to content

Commit

Permalink
Update tests action (#357)
Browse files Browse the repository at this point in the history
* Update github action

* fix typo

* Change to new GITHUB_OUTPUT syntax

* Use `version=` instead of `name=version::`
  • Loading branch information
waketzheng authored Jun 4, 2024
1 parent b3f9a68 commit 22676f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-13, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", 3.12, 3.13]
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12, 3.13]

steps:
- uses: actions/checkout@v4
Expand All @@ -34,7 +34,7 @@ jobs:
id: full-python-version
shell: bash
run: |
echo ::set-output name=version::$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
echo version=$(python -c "import sys; print('-'.join(map(str, sys.version_info)))") >> "$GITHUB_OUTPUT"
- name: Install Poetry
run: pipx install poetry
Expand All @@ -46,7 +46,7 @@ jobs:
poetry env use python
- name: Set up cache
uses: actions/cache@v3
uses: actions/cache@v4
id: cache
with:
path: .venv
Expand Down

0 comments on commit 22676f9

Please sign in to comment.