We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f00318 commit c3c7789Copy full SHA for c3c7789
.github/workflows/ci.yml
@@ -0,0 +1,34 @@
1
+name: Format and Lint
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - '**' # Run on push to any branch
7
+ pull_request:
8
9
+ - main
10
+ - master
11
12
+jobs:
13
+ format-and-lint:
14
+ name: Format and Lint Check
15
+ runs-on: ubuntu-latest
16
17
+ steps:
18
+ - name: Checkout code
19
+ uses: actions/checkout@v4
20
21
+ - name: Install pixi
22
+ uses: prefix-dev/[email protected]
23
+ with:
24
+ pixi-version: "latest"
25
26
+ - name: Install dependencies
27
+ run: pixi install --all-environments
28
29
+ - name: Check formatting
30
+ run: pixi run format-check
31
32
+ - name: Lint code
33
+ run: pixi run lint
34
0 commit comments