Commit graph

73 commits

Author SHA1 Message Date
Mieszko Grodzicki
913235ca66
Baseline rustdoc caching (#29)
* 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>
2023-04-04 09:26:44 -04:00
Mieszko Grodzicki
a609ba51bf Polish input descriptions 2023-02-28 18:59:49 -05:00
Mieszko Grodzicki
6cf50904d1 Update README.md
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-02-28 18:59:49 -05:00
Mieszko Grodzicki
3cf3a963be Document manifest-path default behaviour 2023-02-28 18:59:49 -05:00
Mieszko Grodzicki
5fbde10d11 Make ref-slice-ref required 2023-02-28 18:59:49 -05:00
Mieszko Grodzicki
1fb47cb228 Get rid of fetch-depth: 0 in test-manifest-path-with-space 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
705cfec6cc Minor fixes in inputs specifications 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
e5740164f3 Env variables in ci.yml 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
5618d5abb9 CI improvements (#17) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
4a28a50dd4 Update README.md
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
909bee2c52 Work on README 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
9636ecd1f2 Explain user and email in npm-cli-login (#15) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
88e90a8d87 Tests and fixes for inputs (#14) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
9c72228a41 Proper error handling 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
733726affb Use matrix strategy in CI 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
9d38089c3c Add github-token input (#13) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
b4b317a6f3 Rename crate-name to package 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
2b57dfc438 [TEMP-FIX] Fix mkdir failing if index already exists (#11) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
40af1490bc Add eslint and prettier (#10) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
ea31db666e [TEMP-FIX] Add creating index directory on Windows (#9) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
aa69e72300 Add dist/ check to CI (#8) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
b74920e5d3 Typos in README.md
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
93ad2d92a3 Add ending newlines 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
893685e69b brand-new action in node.js (#4) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
a708ddccfe Add verbose option 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
a754e4ed0a Add manifest-path option 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
18ce3d76fa Update scenario description in README 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
bb926a3536 Remove unused options 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
1b587be276 Use baseline choosing logic of cargo-semver-checks 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
1227c17749 Add TODO comments 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
554ee23ce6 Document assumptions 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
9ba317dc14 Improve jobs names 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
aa34edcb6d Make checking the outcome more descriptive 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
39b7aa82fa Fetch all branches at once. 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
35aa6c3e0a Id fix 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
5801563129 Cleaning, both tests in single job. 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
58fab5bd52 Add id for action step 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
9478ccb3f7 Debug 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
23d16da9fa Add action checkout 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
855a55792a Fix refs 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
6bde90e7a1 Fix repository url 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
37b0a9178b Change action path 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
2816990fcf Tests - initial version. 2023-01-03 09:45:54 -05:00
Mieszko Grodzicki
cee821a331 README improvements 2023-01-01 11:23:19 -05:00
Mieszko Grodzicki
edc4f7e32f New structure of README 2023-01-01 11:23:19 -05:00
Predrag Gruevski
e410d1ab7a Perform a locked install of cargo-semver-checks. 2022-11-16 01:15:26 +00:00
Predrag Gruevski
4cc566bb04 Use stable Rust with cargo-semver-checks>=0.12. 2022-09-28 16:03:35 -04:00
Predrag Gruevski
a1d8af322f
Merge pull request #5 from obi1kenobi/improved_docs
Improve examples for the various modes of using the action.
2022-08-12 12:30:13 -04:00
Predrag Gruevski
4563b8009c Merge branch 'main' into improved_docs 2022-08-12 12:29:33 -04:00
Predrag Gruevski
d0f8d5bbed Improve examples for the various modes of using the action.
Resolves #4.
2022-08-12 12:26:01 -04:00