Skip to content

Commit 6ade0df

Browse files
Migrate to GitHub Actions (#108)
1 parent dc1bd3f commit 6ade0df

File tree

5 files changed

+42
-30
lines changed

5 files changed

+42
-30
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
branches: [master]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: purescript-contrib/setup-purescript@main
16+
with:
17+
purescript: "0.14.0-rc3"
18+
19+
- uses: actions/setup-node@v1
20+
with:
21+
node-version: "12"
22+
23+
- name: Install dependencies
24+
run: |
25+
npm install -g bower
26+
npm install
27+
bower install --production
28+
29+
- name: Build source
30+
run: npm run-script build
31+
32+
- name: Run tests
33+
run: |
34+
bower install
35+
npm run-script test --if-present

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/.*
22
!/.gitignore
3-
!/.travis.yml
3+
!/.github/
44
/bower_components/
55
/node_modules/
66
/output/

.travis.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
# purescript-free
22

33
[![Latest release](http://img.shields.io/github/release/purescript/purescript-free.svg)](https://github.com/purescript/purescript-free/releases)
4-
[![Build status](https://travis-ci.org/purescript/purescript-free.svg?branch=master)](https://travis-ci.org/purescript/purescript-free)
4+
[![Build status](https://github.com/purescript/purescript-free/workflows/CI/badge.svg?branch=master)](https://github.com/purescript/purescript-free/actions?query=workflow%3ACI+branch%3Amaster)
5+
[![Pursuit](https://pursuit.purescript.org/packages/purescript-free/badge)](https://pursuit.purescript.org/packages/purescript-free)
56

67
Free monad, Cofree comonad, Yoneda and Coyoneda functors, and the Trampoline monad implementations for PureScript.
78

89
The Free monad implementation is represented using a sequential data structure.
910

1011
See the following reference for further information.
11-
* [Reflection without Remorse](http://okmij.org/ftp/Haskell/zseq.pdf) (Ploeg and Kiselyov 2014)
12+
13+
- [Reflection without Remorse](http://okmij.org/ftp/Haskell/zseq.pdf) (Ploeg and Kiselyov 2014)
1214

1315
## Installation
1416

1517
```
16-
bower install purescript-free
18+
spago install free
1719
```
1820

1921
## Documentation

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "pulp build -- --censor-lib --strict",
5+
"build": "pulp build -- --censor-lib --strict --censor-codes='UserDefinedWarning'",
66
"build:benchmark": "pulp build --main 'Benchmark.Main' --include './benchmark' -- --censor-lib --strict",
77
"test": "pulp test",
88
"test:benchmark": "node -e \"require('./output/Benchmark.Main').main()\""

0 commit comments

Comments
 (0)