We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d881fe1 commit 6d388ebCopy full SHA for 6d388eb
.github/workflows/ci.yml
@@ -0,0 +1,38 @@
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-latest
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
+ nu --ide-check 100 dir/mod.nu
33
+ | from json --objects
34
+ | where type != hint
35
+ | if ($in | is-not-empty) {
36
+ print $in;
37
+ exit 1;
38
+ }
0 commit comments