File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ workflow_dispatch :
5+ push :
6+ branches : [master]
7+ pull_request :
8+ types : [opened, synchronize, reopened]
9+
10+ jobs :
11+ test :
12+ strategy :
13+ fail-fast : false
14+ matrix :
15+ os : [ubuntu-latest, macos-latest]
16+ crystal : [latest, nightly]
17+ runs-on : ${{ matrix.os }}
18+
19+ steps :
20+ - name : Install Crystal
21+ uses : crystal-lang/install-crystal@v1
22+ with :
23+ crystal : ${{ matrix.crystal }}
24+
25+ - name : Download source
26+ uses : actions/checkout@v5
27+
28+ - name : Install dependencies
29+ run : shards install
30+
31+ - name : Run specs
32+ run : crystal spec
33+
34+ - name : Check formatting
35+ run : crystal tool format --check
36+ if : success() || failure()
37+
38+ - name : Run ameba linter
39+ run : bin/ameba
40+ if : success() || failure()
You can’t perform that action at this time.
0 commit comments