mirror of
https://github.com/obi1kenobi/cargo-semver-checks-action.git
synced 2024-11-25 17:39:33 +01:00
913235ca66
* Baseline caching - initial work * Add comment explaining the change of CARGO_TARGET_DIR. * Update README.md Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com> * Refactor getRustcVersion and getCargoSemverChecksVersion * Move helper functions outside RustdocCache class. * cachePath passed in constructor * workspaceRoot as constructor argument * Inline getManifestDir * Change target to semver-checks/target * Fix missing hash-files * Upload cache if its hash changes * Add input prefix-key --------- Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
44 lines
1.3 KiB
JSON
44 lines
1.3 KiB
JSON
{
|
|
"name": "cargo-semver-checks-action",
|
|
"version": "2.0.0",
|
|
"description": "Lint your crate API changes for semver violations.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"build": "ncc build src/main.ts --license licenses.txt --minify",
|
|
"format": "prettier --write src/**/*.ts",
|
|
"format-check": "prettier --check src/**/*.ts",
|
|
"lint": "eslint src/**/*.ts",
|
|
"all": "npm run format && npm run lint && npm run build"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/mgr0dzicki/cargo-semver-checks-action.git"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"bugs": {
|
|
"url": "https://github.com/mgr0dzicki/cargo-semver-checks-action/issues"
|
|
},
|
|
"homepage": "https://github.com/mgr0dzicki/cargo-semver-checks-action#readme",
|
|
"dependencies": {
|
|
"@actions-rs/core": "^0.1.6",
|
|
"@actions/cache": "^3.1.4",
|
|
"@actions/core": "^1.10.0",
|
|
"@actions/exec": "^1.1.1",
|
|
"@actions/github": "^5.1.1",
|
|
"@actions/io": "^1.1.2",
|
|
"@actions/tool-cache": "^2.0.1",
|
|
"hash-files": "^1.1.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^18.11.18",
|
|
"@typescript-eslint/eslint-plugin": "^5.53.0",
|
|
"@typescript-eslint/parser": "^5.53.0",
|
|
"@vercel/ncc": "^0.36.1",
|
|
"eslint": "^8.34.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"prettier": "^2.8.4",
|
|
"typescript": "^4.9.5"
|
|
}
|
|
}
|