Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 10 additions & 20 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,23 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v7

- uses: actions/setup-node@v7
with:
node-version: 24

- name: Set up a PureScript toolchain
uses: purescript-contrib/setup-purescript@main
with:
purescript: "unstable"
spago: "latest"
purs-tidy: "latest"

- name: Cache PureScript dependencies
uses: actions/cache@v2
uses: actions/cache@v6
with:
key: ${{ runner.os }}-spago-${{ hashFiles('**/*.dhall') }}
key: ${{ runner.os }}-spago-${{ hashFiles('spago.yaml', 'spago.lock') }}
path: |
.spago
output
Expand All @@ -31,25 +36,10 @@ jobs:
run: spago install

- name: Build source
run: spago build --no-install --purs-args '--censor-lib --strict'

- name: Install test dependencies
run: spago -x test.dhall install

- name: Build tests
run: spago -x test.dhall build --no-install --purs-args '--censor-lib --strict'
run: spago build

- name: Run tests
run: spago -x test.dhall test --no-install
run: spago test

- name: Check formatting
run: purs-tidy check src test

- name: Verify Bower & Pulp
run: |
npm install bower pulp@16.0.0-0
npx bower install
npx pulp build -- --censor-lib --strict
if [ -d "test" ]; then
npx pulp test
fi
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@

output
generated-docs
bower_components
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ New features:
Bugfixes:

Other improvements:
- Migrate to registry-backed Spago and update CI tooling.

## [v2.0.0](https://github.com/purescript-contrib/purescript-float32/releases/tag/v2.0.0) - 2022-04-27

Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,5 @@ You can contribute to `float32` in several ways:
Run the tests with

```sh
spago -x test.dhall test
spago test
```

25 changes: 0 additions & 25 deletions bower.json

This file was deleted.

4 changes: 0 additions & 4 deletions packages.dhall

This file was deleted.

11 changes: 0 additions & 11 deletions spago.dhall

This file was deleted.

Loading
Loading