Magnus Markling
ca26a44cfb
Add target input ( #82 )
...
* add rust-target as input
Signed-off-by: Magnus Markling <magnus@markling.com>
* update readme
Signed-off-by: Magnus Markling <magnus@markling.com>
* fix spelling error
Signed-off-by: Magnus Markling <magnus@markling.com>
* Update README.md
Signed-off-by: Magnus Markling <magnus@markling.com>
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
* update example
Signed-off-by: Magnus Markling <magnus@markling.com>
* use actions-rust-lang instead of dtolnay
Signed-off-by: Magnus Markling <magnus@markling.com>
* use stable instead of stable 2 months
Signed-off-by: Magnus Markling <magnus@markling.com>
* Update README.md
Signed-off-by: Magnus Markling <magnus@markling.com>
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
* add missing input def
Signed-off-by: Magnus Markling <magnus@markling.com>
* rebuild index.js
Signed-off-by: Magnus Markling <magnus@markling.com>
* update action.yml
Signed-off-by: Magnus Markling <magnus@markling.com>
---------
Signed-off-by: Magnus Markling <magnus@markling.com>
Co-authored-by: Predrag Gruevski <2348618+obi1kenobi@users.noreply.github.com>
2024-07-14 19:29:10 +00:00
Predrag Gruevski
48f4ef7da6
Update action to use Node 20 ( #63 )
...
Resolves #62 .
2024-01-25 21:48:51 +00:00
Predrag Gruevski
e275dda72e
Document the new action inputs. ( #52 )
2023-06-06 19:35:53 +00:00
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
3cf3a963be
Document manifest-path default behaviour
2023-02-28 18:59:49 -05:00
Mieszko Grodzicki
705cfec6cc
Minor fixes in inputs specifications
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
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
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
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
a70dd5d867
Add branding info to action.
2022-08-10 01:28:06 -04:00
Predrag Gruevski
31abdeda61
Fix typo.
2022-08-07 12:36: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
71067de712
More handholding of git fetch.
2022-08-02 12:17:03 -07:00
Predrag Gruevski
4227a503aa
Perform a depth=1 fetch of the tag.
2022-08-02 12:13:11 -07:00
Predrag Gruevski
00b3af39f7
Explicitly detach the checkout.
2022-08-02 12:03:12 -07:00
Predrag Gruevski
6d7e4c1aa3
Explicitly specify that we're checking out a tag.
2022-08-02 11:58:37 -07:00
Predrag Gruevski
aa9e803411
Explicitly fetch from origin.
2022-08-02 11:48:28 -07:00
Predrag Gruevski
7946ceb19e
Explicitly fetch the comparison tag.
2022-08-02 11:41:19 -07:00
Predrag Gruevski
29dd54c10c
Fix quoting bug.
2022-07-20 20:14:39 -04:00
Predrag Gruevski
d3807169fd
Use explicit path to action scripts.
2022-07-20 20:08:54 -04:00
Predrag Gruevski
402cb63f95
Explicitly pick a shell.
2022-07-20 19:57:47 -04:00
Predrag Gruevski
bf71005d20
Minor bugfixes.
2022-07-20 19:41:14 -04:00
Predrag Gruevski
9167e38cae
Avoid single quote altogether.
2022-07-20 19:34:12 -04:00
Predrag Gruevski
c2235291f4
Escape single quote.
2022-07-20 19:27:16 -04:00
Predrag Gruevski
ebc272edf7
Add initial cargo-semver-checks action implementation.
2022-07-20 19:19:33 -04:00