@@ -12,11 +12,10 @@ jobs:
1212 - name : Checkout
1313 uses : actions/checkout@v4
1414
15- - name : Add Crystal repos
16- run : curl -sSL https://crystal-lang.org/install.sh | sudo bash
17-
1815 - name : Install crystal
19- run : sudo apt install -y crystal libevent-dev libpcre3-dev libreadline-dev libssl-dev
16+ uses : crystal-lang/install-crystal@v1
17+ with :
18+ crystal : ${{ env.CRYSTAL_VERSION }}
2019
2120 - name : Install dependencies
2221 run : shards install
@@ -37,11 +36,10 @@ jobs:
3736 - name : Checkout
3837 uses : actions/checkout@v4
3938
40- - name : Add Crystal repos
41- run : curl -sSL https://crystal-lang.org/install.sh | sudo bash
42-
4339 - name : Install crystal
44- run : sudo apt install -y crystal libevent-dev libpcre3-dev libreadline-dev libssl-dev
40+ uses : crystal-lang/install-crystal@v1
41+ with :
42+ crystal : ${{ env.CRYSTAL_VERSION }}
4543
4644 - name : Install dependencies
4745 run : shards install
7472 uses : actions/checkout@v4
7573
7674 - name : Install crystal
77- run : brew install crystal
75+ uses : crystal-lang/install-crystal@v1
76+ with :
77+ crystal : ${{ env.CRYSTAL_VERSION }}
78+
79+ - name : Install boehmgc via homebrew
80+ run : brew install bdw-gc
7881
7982 - name : Install gon via homebrew for code signing and app notarization
8083 run : |
@@ -101,7 +104,12 @@ jobs:
101104 uses : actions/checkout@v4
102105
103106 - name : Install crystal
104- run : brew install crystal
107+ uses : crystal-lang/install-crystal@v1
108+ with :
109+ crystal : ${{ env.CRYSTAL_VERSION }}
110+
111+ - name : Install boehmgc via homebrew
112+ run : brew install bdw-gc
105113
106114 - name : Install gon via homebrew for code signing and app notarization
107115 run : |
0 commit comments