Skip to content

Commit 401bd6b

Browse files
author
Serhii Khoma
committed
fix: ci
1 parent 1aee57e commit 401bd6b

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,35 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v4
1515

1616
- name: Set up a PureScript toolchain
1717
uses: purescript-contrib/setup-purescript@main
1818
with:
19-
purescript: "unstable"
19+
purescript: "latest"
2020
purs-tidy: "latest"
21+
spago: "unstable"
2122

2223
- name: Cache PureScript dependencies
2324
uses: actions/cache@v2
2425
with:
25-
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
26+
key: ${{ runner.os }}-spago-${{ hashFiles('**/spago.lock') }}
2627
path: |
2728
.spago
2829
output
2930
31+
- uses: actions/setup-node@v4
32+
with:
33+
node-version: "lts/*"
34+
3035
- name: Install dependencies
3136
run: spago install
3237

3338
- name: Build source
34-
run: spago build --no-install
39+
run: spago build --offline
3540

3641
- name: Run tests
37-
run: spago test --no-install
42+
run: spago test --offline
3843

3944
- name: Check formatting
4045
run: purs-tidy check src test
41-
42-
- name: Verify Bower & Pulp
43-
run: |
44-
npm install bower [email protected]
45-
npx bower install
46-
npx pulp build -- --censor-lib --strict
47-
if [ -d "test" ]; then
48-
npx pulp test
49-
fi

0 commit comments

Comments
 (0)