diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..71672ea --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,18 @@ +name: CI + +on: + push: + branches: [master] + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - uses: purescript-contrib/setup-purescript@v2.0.0 + - run: | + npx bower install + npx pulp build + npx pulp build --include test diff --git a/README.md b/README.md index 672bfcd..b6ba380 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # purescript-heterogeneous [![Latest release](http://img.shields.io/github/release/natefaubion/purescript-heterogeneous.svg)](https://github.com/natefaubion/purescript-heterogeneous/releases) -[![Build status](https://travis-ci.org/natefaubion/purescript-heterogeneous.svg?branch=master)](https://travis-ci.org/natefaubion/purescript-heterogeneous) +[![Build status](https://github.com/natefaubion/purescript-heterogeneous/workflows/CI/badge.svg?branch=master)](https://github.com/natefaubion/purescript-heterogeneous/actions?query=workflow%3ACI+branch%3Amaster) Maps and folds for heterogeneous data types. diff --git a/bower.json b/bower.json index 7b4143b..d8dc515 100644 --- a/bower.json +++ b/bower.json @@ -1,29 +1,22 @@ { "name": "purescript-heterogeneous", "homepage": "https://github.com/natefaubion/purescript-heterogeneous", - "authors": [ - "Nathan Faubion " - ], + "authors": ["Nathan Faubion "], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/natefaubion/purescript-heterogeneous.git" }, - "ignore": [ - "**/.*", - "node_modules", - "bower_components", - "output" - ], + "ignore": ["**/.*", "node_modules", "bower_components", "output"], "dependencies": { - "purescript-prelude": "^5.0.0", - "purescript-record": "^3.0.0", - "purescript-tuples": "^6.0.0", - "purescript-functors": "^4.0.0", - "purescript-variant": "^7.0.0", - "purescript-either": "^5.0.0" + "purescript-prelude": "^6.0.0", + "purescript-record": "^4.0.0", + "purescript-tuples": "^7.0.0", + "purescript-functors": "^5.0.0", + "purescript-variant": "^8.0.0", + "purescript-either": "^6.0.0" }, "devDependencies": { - "purescript-psci-support": "^5.0.0" + "purescript-psci-support": "^6.0.0" } }