* 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>
61 lines
1.5 KiB
JSON
61 lines
1.5 KiB
JSON
{
|
|
"name": "setup-haskell",
|
|
"version": "1.0.0",
|
|
"private": true,
|
|
"description": "setup haskell action",
|
|
"main": "src/setup-haskell.ts",
|
|
"scripts": {
|
|
"check:type": "tsc --noEmit",
|
|
"check:format": "prettier --check **/*.{ts,json}",
|
|
"check:lint": "eslint src/**/*.ts",
|
|
"test": "jest",
|
|
"format": "prettier --write **/*.{ts,json}",
|
|
"pack": "ncc build",
|
|
"_git-add": "git add dist",
|
|
"pre-push": "run-p check:* test",
|
|
"pre-commit": "npm-run-all format pack _git-add"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/actions/setup-haskell.git"
|
|
},
|
|
"keywords": [
|
|
"actions",
|
|
"haskell",
|
|
"ghc",
|
|
"cabal",
|
|
"setup"
|
|
],
|
|
"author": "GitHub",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.3",
|
|
"@actions/io": "^1.0.2",
|
|
"@actions/tool-cache": "^1.3.3",
|
|
"js-yaml": "^3.13.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^25.1.4",
|
|
"@types/js-yaml": "^3.12.2",
|
|
"@types/node": "^13.9.1",
|
|
"@typescript-eslint/parser": "^2.24.0",
|
|
"@zeit/ncc": "^0.21.1",
|
|
"eslint": "^6.8.0",
|
|
"eslint-plugin-github": "^3.4.1",
|
|
"eslint-plugin-jest": "^23.8.2",
|
|
"husky": "^4.2.3",
|
|
"jest": "^25.1.0",
|
|
"jest-circus": "^25.1.0",
|
|
"npm-run-all": "^4.1.5",
|
|
"prettier": "^1.19.1",
|
|
"ts-jest": "^25.2.1",
|
|
"typescript": "^3.8.3"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "npm run pre-commit",
|
|
"pre-push": "npm run pre-push"
|
|
}
|
|
}
|
|
}
|