We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d881fe1 commit 1b95466Copy full SHA for 1b95466
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,43 @@
1
+name: ci
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+permissions:
10
+ contents: read
11
12
+concurrency:
13
+ group: ci-${{ github.ref }}
14
+ cancel-in-progress: true
15
16
+jobs:
17
+ check:
18
+ runs-on: ubuntu-24.04-arm
19
20
+ steps:
21
+ - uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6
22
+ with:
23
+ persist-credentials: false
24
25
+ - name: set up nushell
26
+ uses: hustcer/setup-nu@920172d92eb04671776f3ba69d605d3b09351c30 # v3.22
27
28
+ version: "0.109"
29
30
+ - shell: nu {0}
31
+ run: |
32
+ ls **/*.nu
33
+ | par-each { |path|
34
+ nu --ide-check 100 $path
35
+ | from json --objects
36
+ | where type != hint
37
+ | if ($in | is-not-empty) {
38
+ print $"Errors in ($path):";
39
+ print $in;
40
+ print "\n";
41
+ exit 1;
42
+ }
43
0 commit comments