We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a7bca4 commit 387217fCopy full SHA for 387217f
.github/workflows/ci.yml
@@ -1,22 +1,22 @@
1
-# .github/workflows/ci.yml
2
name: CI
3
-
4
-on:
5
- push:
6
- pull_request:
+on: [push, pull_request]
7
8
jobs:
9
- tests:
+ run-make:
+ name: ${{ matrix.name }}
10
runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
11
+ include:
12
+ - { name: "make check", cmd: "make check" }
13
+ - { name: "make test", cmd: "make test" }
14
+ - { name: "make format --check", cmd: "make format FLAGS=--check" }
15
steps:
16
- uses: actions/checkout@v4
17
- name: Install uv
18
run: |
19
set -euxo pipefail
20
curl -LsSf https://astral.sh/uv/install.sh | sh
21
echo "$HOME/.local/bin" >> $GITHUB_PATH
- - run: make check
- - run: make test
22
- - run: make format FLAGS=--check
+ - run: ${{ matrix.cmd }}
0 commit comments