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
29 changes: 11 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,42 +11,35 @@ 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

- name: Install dependencies
run: spago install

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

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

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

- name: Run tests
run: spago -x spago-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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Bugfixes:

Other improvements:

- Migrate to registry-backed Spago and update CI tooling.

## [v13.2.0](https://github.com/purescript-contrib/purescript-arraybuffer/releases/tag/v13.2.0) - 2023-02-13

Other improvements:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,5 @@ These are some other packages which provide more `ArrayBuffer` features.
Run the tests with

```sh
spago -x spago-test.dhall test
spago test
```
30 changes: 0 additions & 30 deletions bower.json

This file was deleted.

5 changes: 0 additions & 5 deletions packages.dhall

This file was deleted.

13 changes: 0 additions & 13 deletions spago-test.dhall

This file was deleted.

20 changes: 0 additions & 20 deletions spago.dhall

This file was deleted.

Loading
Loading