From c408eae9a3c80ccda63ac7f3bf052ea0b2bb3ed3 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Tue, 12 Nov 2024 19:13:38 +0100 Subject: [PATCH] chore(ci): cleanup workflows and add windows and macos --- .github/workflows/main.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b17f13c..3d6952b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,7 +18,7 @@ jobs: - uses: pre-commit/action@v2.0.0 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] @@ -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 @@ -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