File tree Expand file tree Collapse file tree 4 files changed +557
-71
lines changed Expand file tree Collapse file tree 4 files changed +557
-71
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ pull_request :
6
+ push :
7
+ branches :
8
+ - main
9
+
10
+ concurrency :
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : true
13
+
14
+ env :
15
+ # Many color libraries just need this to be set to any value, but at least
16
+ # one distinguishes color depth, where "3" -> "256-bit color".
17
+ FORCE_COLOR : 3
18
+
19
+ jobs :
20
+ lint :
21
+ name : Format
22
+ runs-on : ubuntu-latest
23
+ steps :
24
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
25
+ - uses : actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
26
+ with :
27
+ python-version : " 3.x"
28
+ - uses : prefix-dev/setup-pixi@92815284c57faa15cd896c4d5cfb2d59f32dc43d # v0.8.3
29
+ with :
30
+ pixi-version : v0.43.3
31
+ cache : true
32
+ environments : lint
33
+ - name : Run linters
34
+ run : pixi run lint
You can’t perform that action at this time.
0 commit comments