Commit graph

25 commits

Author SHA1 Message Date
Mieszko Grodzicki
69730c4d83
Add input release-type (#39) 2023-04-23 20:37:51 +02:00
Mieszko Grodzicki
8b981cde1a
Add input exclude, allow list in package (#40)
* Add exclude, allow lists in package

* Add test for input exclude

* Second dummy crate in test workspace

* New tests

* Fix cache key

* Forgot about flat()

* Reflect changes in docs

* New key in cache test

* Shorter job name

* Allowed to fail -> expected to fail

* Update README.md

Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>

* Hash inputs in cache key

* Update cache test

* Update README

---------

Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-04-23 14:24:06 -04:00
Mieszko Grodzicki
7eca687541
Change '' to 'manual' for rust-toolchain input (#41)
* Change '' to 'manual' for rust-toolchain

* Default is stable, modify tests
2023-04-23 12:35:09 -04:00
Mieszko Grodzicki
670e9a45ae
Include package and manifest-path in the cache key (#38)
* New caching strategy

* Update README.md

Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>

---------

Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2023-04-23 10:37:17 +02:00
Mieszko Grodzicki
f9ffdc4a3d
Add inputs to control the Rust toolchain (#34)
* Add inputs for controlling rust toolchain

* Add tests for new inputs

* Negated ifs!

* Fix action input name

* Better description of rust-override

* New logic of choosing toolchain

* Add explaining comment.

* Add rust-toolchain.toml test
2023-04-08 10:21:06 -04:00
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
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
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
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
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
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
d0f8d5bbed Improve examples for the various modes of using the action.
Resolves #4.
2022-08-12 12:26:01 -04:00
Predrag Gruevski
b737f52f9c Build rustdoc with all features and with private items. 2022-08-07 12:23:51 -04:00
Predrag Gruevski
12560d69ad Update documentation. 2022-08-02 12:20:03 -07:00
Predrag Gruevski
1bd4be9e75 Add more information to README. 2022-08-02 11:41:03 -07:00
Predrag Gruevski
192d7c246b
Initial commit 2022-07-20 18:45:54 -04:00