File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 99 - main
1010
1111jobs :
12- lint :
12+ specs :
1313 strategy :
1414 fail-fast : false
1515 matrix :
@@ -52,12 +52,33 @@ jobs:
5252 - name : Run Crystal specs
5353 run : crystal spec -p -s
5454
55+ lint :
56+ strategy :
57+ fail-fast : false
58+ matrix :
59+ ameba-version : [v1.6.4]
60+ include :
61+ - { os: ubuntu-latest, crystal: latest }
62+ - { os: ubuntu-latest, crystal: nightly }
63+ - { os: macos-latest }
64+ - { os: windows-latest }
65+
66+ runs-on : ${{ matrix.os }}
67+ steps :
68+ - name : Checkout code
69+ uses : actions/checkout@v4
70+
71+ - name : Set up Crystal
72+ uses : crystal-lang/install-crystal@v1
73+ with :
74+ crystal : ${{matrix.crystal}}
75+
5576 - name : Cache Ameba binary
5677 id : cache-ameba
5778 uses : actions/cache@v3
5879 with :
5980 path : bin/ameba
60- key : ${{ runner .os }}-ameba-${{ matrix.ameba-version }}-${{ matrix.crystal }}
81+ key : ${{ matrix .os }}-ameba-${{ matrix.ameba-version }}-${{ matrix.crystal }}
6182
6283 - name : Build Ameba
6384 if : steps.cache-ameba.outputs.cache-hit != 'true'
You can’t perform that action at this time.
0 commit comments