Skip to content

Commit

Permalink
chore(ci): cleanup workflows and add windows and macos
Browse files Browse the repository at this point in the history
  • Loading branch information
abn committed Nov 12, 2024
1 parent 56540c9 commit c408eae
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: pre-commit/[email protected]

tests:
name: Test / ${{ matrix.python-version }} / ${{ matrix.os }}
name: ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ${{ matrix.os }}-latest
continue-on-error: ${{ matrix.experimental }}
needs: [pre-commit]
Expand All @@ -32,6 +32,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '^1.23.0'

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
Expand All @@ -41,7 +43,9 @@ jobs:
- name: Get full python version
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))")
run: |
VERSION=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")
echo "{version}=${VERSION}" >> $GITHUB_OUTPUT
- name: Install poetry
shell: bash
Expand Down

0 comments on commit c408eae

Please sign in to comment.