Skip to content

Commit 9b09f9e

Browse files
Update ci.yml to... reflect the experience I've gained in the past couple months
1 parent 13a31af commit 9b09f9e

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,33 @@ name: CI
22
on: [push]
33

44
jobs:
5-
# This workflow contains a single job called "test"
65
test:
7-
# why is UBUNTU the only distro they have a runner for 💀💀💀
86
runs-on: ubuntu-latest
97

108
steps:
11-
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it. also in Mati's so I will blindly trust it
129
- uses: actions/checkout@v4
1310

14-
# Runs a set of commands using the runners shell
11+
- name: Cache Spago dependencies
12+
uses: actions/cache@v4
13+
with:
14+
path: .spago
15+
key: spago-${{ hashFiles('spago.lock') }}
16+
restore-keys: |
17+
spago-
18+
19+
- name: Set up Node 20
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: "20.x"
23+
1524
- name: Set up Purescript and Spago
1625
run: |
1726
npm i -g purescript
1827
npm i -g spago@next
1928
20-
# Runs a single command
29+
- name: Install Spago dependencies
30+
run: spago install --pure --pedantic-packages
31+
2132
- name: Build
2233
run: spago build --strict
2334

0 commit comments

Comments
 (0)