File tree Expand file tree Collapse file tree 3 files changed +41
-18
lines changed Expand file tree Collapse file tree 3 files changed +41
-18
lines changed Original file line number Diff line number Diff line change 1
- name : Lucky Jumpstart CI
1
+ name : Lucky
2
2
3
3
on :
4
4
push :
@@ -22,10 +22,24 @@ jobs:
22
22
- name : Format
23
23
run : crystal tool format --check
24
24
25
- - name : Crystal Ameba Linter
26
- uses :
crystal-ameba/[email protected]
27
- env :
28
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
25
+ - name : Set up Crystal cache
26
+
27
+ id : crystal-cache
28
+ with :
29
+ path : |
30
+ ~/.cache/crystal
31
+ bin/ameba
32
+ lib
33
+ key : ${{ runner.os }}-crystal-${{ hashFiles('**/shard.lock') }}
34
+ restore-keys : |
35
+ ${{ runner.os }}-crystal-
36
+
37
+ - name : Install shards
38
+ if : steps.crystal-cache.outputs.cache-hit != 'true'
39
+ run : shards check || shards install
40
+
41
+ - name : Run ameba linter
42
+ run : ./bin/ameba
29
43
30
44
RunSpecs :
31
45
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1
1
version: 2.0
2
2
shards:
3
+ ameba:
4
+ git: https://github.com/crystal-ameba/ameba.git
5
+ version: 0.14.1+git.commit.6aaf398c4326c125874ba192da452270276bd184
6
+
3
7
any_hash:
4
8
git: https://github.com/Sija/any_hash.cr.git
5
- version: 0.2.4
9
+ version: 0.2.5
6
10
7
11
avram:
8
12
git: https://github.com/luckyframework/avram.git
9
- version: 0.19.0
13
+ version: 0.19.1
10
14
11
15
backtracer:
12
16
git: https://github.com/Sija/backtracer.cr.git
@@ -32,10 +36,6 @@ shards:
32
36
git: https://github.com/luckyframework/dexter.git
33
37
version: 0.3.2
34
38
35
- dotenv:
36
- git: https://github.com/gdotdesign/cr-dotenv.git
37
- version: 0.7.0
38
-
39
39
exception_page:
40
40
git: https://github.com/crystal-loot/exception_page.git
41
41
version: 0.1.4
@@ -46,7 +46,7 @@ shards:
46
46
47
47
habitat:
48
48
git: https://github.com/luckyframework/habitat.git
49
- version: 0.4.4
49
+ version: 0.4.6
50
50
51
51
lucky:
52
52
git: https://github.com/luckyframework/lucky.git
@@ -56,6 +56,10 @@ shards:
56
56
git: https://github.com/luckyframework/lucky_cli.git
57
57
version: 0.26.0
58
58
59
+ lucky_env:
60
+ git: https://github.com/luckyframework/lucky_env.git
61
+ version: 0.1.0
62
+
59
63
lucky_flow:
60
64
git: https://github.com/luckyframework/lucky_flow.git
61
65
version: 0.7.2
Original file line number Diff line number Diff line change @@ -11,15 +11,20 @@ targets:
11
11
crystal : 0.35.1
12
12
13
13
dependencies :
14
- raven :
15
- github : Sija/raven.cr
16
- version : ~> 1.9.0
17
14
lucky :
18
15
github : luckyframework/lucky
19
16
version : ~> 0.26.0
20
- dotenv :
21
- github : gdotdesign/cr-dotenv
22
- version : ~> 0.7.0
17
+ lucky_env :
18
+ github : luckyframework/lucky_env
19
+ version : ~> 0.1.0
20
+ raven :
21
+ github : Sija/raven.cr
22
+ version : ~> 1.9.0
23
+
24
+ development_dependencies :
25
+ ameba :
26
+ github : crystal-ameba/ameba
27
+ branch : master
23
28
lucky_flow :
24
29
github : luckyframework/lucky_flow
25
30
version : ~> 0.7.2
You can’t perform that action at this time.
0 commit comments