Skip to content

Commit abc6992

Browse files
Migrate to GitHub Actions (#177)
* Migrate to GitHub Actions and update installation instructions. * Remove MonadZero instances. * Revert "Remove MonadZero instances." This reverts commit 359d415. * Censor user-defined warnings to accommodate MonadZero deprecation
1 parent 9b981c3 commit abc6992

File tree

5 files changed

+35
-28
lines changed

5 files changed

+35
-28
lines changed

.github/workflows/ci.yml

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

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# purescript-lists
22

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

66
This library defines strict and lazy linked lists, and associated helper functions and type class instances.
77

@@ -10,7 +10,7 @@ _Note_: This module is an improvement over `Data.Array` when working with immuta
1010
## Installation
1111

1212
```
13-
bower install purescript-lists
13+
spago install lists
1414
```
1515

1616
## Licensing

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
"test": "pulp test",
77

88
"bench:build": "purs compile 'bench/**/*.purs' 'src/**/*.purs' 'bower_components/*/src/**/*.purs'",

0 commit comments

Comments
 (0)