14 Commits

Author SHA1 Message Date
Jared Weakly
bc8c103907 Update latest stack to v2.3.1 2020-04-30 11:52:49 -07:00
Jared Weakly
54cfeed6a1 Update documentation to v1.1 2020-04-28 12:14:36 -07:00
Jared Weakly
68697853e3 Add minimal example to README 2020-04-24 11:57:40 -07:00
Jared Weakly
120f5dc3eb Implement fallback install and outputs (#2)
* Add better version support. Restructure code. Implement OS agnostic fallback

* Support latest for cabal and stack. Add enable-stack option.

* Add outputs

* Update documentation. Change default for GHC to latest.
2020-04-24 11:53:29 -07:00
Jared Weakly
c4e863e92f Clean up wording in README 2020-03-30 10:19:41 -07:00
jared-w
8154472447 Add Windows and macOS Support (#1)
* Re-base onto upstream master

* Use os over operating-system per json schema suggestion

* Upgrade dependencies

* Update action.yml syntax

* Restructure repo on latest typescript-action

* Update workflow.yml to use same node version as action.yml

* Pull in improvements from open PRs. Fix package.json scripts

* Type function return arguments

* Don't eslint automatic formatting changes

* Initial implementation of ghc+cabal install for linux/mac/windows

* Update README

* Fix cabal version in action.yml

* Implement initial simplistic test suite

* Test action with CI

* Use chocolatey directly to install ghc and cabal

* Try pre-installed tool on linux first

* Clean up documentation

* Expand README

* Test super old GHC on ubuntu

* Implement support for stack

* Update documentation about Stack support

* Test stack install in Github Actions CI

authored-by: Jared Weakly <jweakly@galois.com>
2020-03-23 11:24:06 -07:00
Timothy Clem
9d4ea21e33 Use checkout@v2 2020-03-13 08:36:25 -07:00
Timothy Clem
5cb1452dae Use check@v2 2020-03-13 08:36:14 -07:00
Edward Thomson
9128e16ab9 Update README for semantic versioning 2019-11-08 17:02:02 +00:00
Timothy Clem
ef0a26c8c8 Readme and action.yml cleanup
Some checks failed
Main workflow / Run (ubuntu-latest) (push) Has been cancelled
Main workflow / Run (windows-latest) (push) Has been cancelled
2019-09-30 11:43:06 -07:00
Timothy Clem
3979a43fed Update readme with supported versions 2019-09-30 11:39:33 -07:00
Timothy Clem
d0615c7f8e Show cabal version usage in readme 2019-09-24 09:17:40 -07:00
Timothy Clem
8cd05073c6 Allow setting cabal version too 2019-09-23 20:07:29 -07:00
Timothy Clem
1068d0618d Initial project setup
Partly ported from actions/setup-ruby
2019-09-23 19:56:26 -07:00