Commit Graph

60 Commits

Author SHA1 Message Date
Luke Lau
c2e19a92bb Ignore exit code for choco and ghcup installs
This means that they can now fallback to alternatve install options
2020-07-27 13:27:27 +01:00
Luke Lau
d8110230de Update ghcup to 0.1.8 and add ghc-8.8.4 support
Need to make the apt install function not error whenever it returns a
non-zero exit code, because ghc-8.8.4 isn't available via apt just yet
2020-07-23 13:11:51 +01:00
Andy McKay
34d7e72d93 Merge pull request #26 from actions/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-21 08:26:35 -07:00
dependabot[bot]
b2c4ef4f60 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 09:00:39 +00:00
Timothy Clem
e3e5ff096b Merge pull request #16 from mbj/fix/readme-example
Fix stack readme example
v1.1.2
2020-07-06 07:59:18 -07:00
Timothy Clem
c493fba651 Merge pull request #24 from haskell-CI/fix-private-https-hackage
Leave cabal's http-transport setting on its default
2020-07-06 07:58:49 -07:00
Jared Weakly
2d6ac72254 fix cabal update for private https hackages 2020-06-24 11:29:14 -07:00
Timothy Clem
c80f11a266 Merge pull request #22 from haskell-CI/master
Fix macos ghcup and cabal flags (#4)
v1.1.1
2020-06-11 14:17:55 -07:00
Jared Weakly
cfefe70615 Fix macos ghcup and cabal flags (#4)
* fix short-circuit logic for ghcup based installs of ghc

* fix unrecognized user-config option for cabal v2.0

* update dependencies
2020-06-09 09:58:15 -07:00
Markus Schirp
995068575a Fix stack readme example 2020-05-12 00:10:48 +00:00
Timothy Clem
c1b48c3995 Merge pull request #15 from haskell-CI/releases/v1.1
Update documentation to v1.1
v1.1 v1.1.0
2020-05-04 06:57:46 -07:00
Jared Weakly
bc8c103907 Update latest stack to v2.3.1 2020-04-30 11:52:49 -07:00
Jared Weakly
dfe236d133 Make updating tests on version bumps unnecessary 2020-04-30 11:36:10 -07:00
Jared Weakly
54cfeed6a1 Update documentation to v1.1 2020-04-28 12:14:36 -07:00
Timothy Clem
2bb8480234 Merge pull request #12 from haskell-CI/master
Add Windows, macOS, and Stack Support (#1)
2020-04-28 09:36:01 -07:00
Jared Weakly
9bd8f8d45b Version ghcup (#3)
* Version ghcup

* Don't cache something that needs to be tested for correctness
2020-04-27 17:22:46 -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 Weakly
1bac4f5680 Remove unnecessary gitattributes file 2020-03-30 10:17:26 -07:00
Jared Weakly
aedd2c8f4c Merge remote-tracking branch 'upstream/master' 2020-03-30 09:39:23 -07:00
Timothy Clem
39f6060c35 Merge pull request #13 from actions/ci-on-pr
Update workflow to build and test pull requests
2020-03-30 08:46:52 -07:00
Timothy Clem
b7b0d7dce2 Use node 12 and specific releases of these actions 2020-03-30 08:38:46 -07:00
Timothy Clem
3108ab5594 Build on push and pr 2020-03-30 08:38:27 -07:00
Jared Weakly
28eaec6120 Verify Cabal functionality for various installs
This patch adds functionality to

* Test cabal build and cabal run in the CI workflow
* Test GHC 7.10.3 on Linux and ensures that it works
* On Linux, try hvr's PPA before ghcup
2020-03-30 08:24:21 -07:00
Jared Weakly
5fd55ef5c0 Don't unnecessarily split args 2020-03-27 17:59:12 -07:00
Jared Weakly
d3ac0a8114 Fix path construction error in windows 2020-03-27 17:56:26 -07:00
Jared Weakly
30f91c7927 Add basic cabal setup steps 2020-03-25 17:29:40 -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
a6006d2c28 Merge pull request #9 from actions/workflow-fix
Use node-version per lint warning
2020-03-13 09:30:37 -07:00
Timothy Clem
bd5f9aae0d Use node-version per lint warning 2020-03-13 09:22:19 -07:00
Timothy Clem
d696507ee0 Merge pull request #2 from actions/ethomson/update_description
Update description
2020-03-13 09:21:07 -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
1b83df909e Update description 2019-11-08 17:02:36 +00: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
v1.0.0
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
3cfec0d220 Just add node_modules directly 2019-09-30 11:30:55 -07:00
Timothy Clem
a83939fb8c Husky wants to do this 2019-09-30 11:30:37 -07:00
Timothy Clem
895038cb9e Actually build the js 2019-09-30 11:29:33 -07:00
Timothy Clem
a803c8eafa These do not need to be async 2019-09-30 11:20:46 -07:00
Timothy Clem
ed3f2cf6f6 Throw an error, just to test 2019-09-30 11:12:07 -07:00
Timothy Clem
c7bae09eed Log what the toolPath is we are looking for 2019-09-30 11:00:01 -07:00
Timothy Clem
5e34fe46eb Cleanup: not using tempDir 2019-09-30 10:59:53 -07:00
Timothy Clem
b27e423a65 Format 2019-09-30 10:40:10 -07:00
Timothy Clem
116f7892df Don't check for .complete 2019-09-30 10:38:50 -07:00
Timothy Clem
db0581eb84 Updated node_modules 2019-09-30 10:05:10 -07:00
Timothy Clem
63b90beb0c npm audit fix 2019-09-30 10:04:01 -07:00
Timothy Clem
caa2e9e5b6 Updated node_mobules from what huskey wants to do 2019-09-30 10:02:47 -07:00