We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efbb906 commit a03a1a1Copy full SHA for a03a1a1
1 file changed
.github/workflows/test.yaml
@@ -0,0 +1,33 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
9
+jobs:
10
+ lint:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Check bash syntax
16
+ run: |
17
+ for script in bin/*; do
18
+ [[ -d "$script" ]] && continue
19
+ echo "Checking $script..."
20
+ bash -n "$script"
21
+ done
22
+ echo "All scripts passed syntax check."
23
24
+ test:
25
26
27
28
29
+ - name: Setup mise
30
+ uses: jdx/mise-action@v2
31
32
+ - name: Run tests
33
+ run: mise run test
0 commit comments