Skip to content

Commit

Permalink
Fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
druzsan committed Feb 8, 2024
1 parent 984c5cd commit 1e43302
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ jobs:
matrix: |
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: [3.8, 3.10, 3.12]
- run: echo "$MATRIX"
- run: cat $GITHUB_OUTPUT
- run: echo ${{ steps.set-matrix.outputs.matrix }}
- id: set-matrix
run: echo "matrix=$MATRIX" >> $GITHUB_OUTPUT
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
matrix: ${{ steps.setup-matrix.outputs.matrix }}
# Check code formatting
check-format:
name: '🔍 Check Formatting'
needs: setup-matrix
strategy:
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
runs-on: ${{ matrix.os }}
Expand All @@ -38,6 +34,7 @@ jobs:
# Check code types
typecheck:
name: '🔍 Check Types'
needs: setup-matrix
strategy:
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
runs-on: ${{ matrix.os }}
Expand All @@ -52,6 +49,7 @@ jobs:
# Lint code
lint:
name: '🔍 Lint'
needs: setup-matrix
strategy:
matrix: ${{ fromJson(needs.setup-matrix.outputs.matrix) }}
runs-on: ${{ matrix.os }}
Expand Down

0 comments on commit 1e43302

Please sign in to comment.