Jonas Bushart
1780873c7b
Fix: Run the version detection steps in the selected rust-src-dir directory.
...
This should enable the version selection even without a default
toolchain installed.
Fixes #74 .
v1
v1.15.2
v1.15
2025-10-04 15:50:05 +02:00
Jonas Bushart
063a3b947b
Use correct quoting style for working-directory
2025-10-04 13:10:09 +02:00
Jonas Bushart
f89a806691
Use the built-in working-directory selector and default to "." if rust-src-dir is not set
2025-10-04 13:06:57 +02:00
Jonas Bushart
51897173ae
Gate the rust-src-dir check by first checking if the value is set
2025-10-04 12:57:01 +02:00
Jonas Bushart
d6688fbd7a
Print an error and exit if 'rust-src-dir' does not point to an existing directory
2025-10-03 23:23:33 +02:00
Jonas Bushart
02be93da58
Update Swatinem/rust-cache to v2.8.1
v1.15.1
2025-09-23 22:16:00 +02:00
Rob Ede
69e4802460
Merge pull request #73 from actions-rust-lang/dependabot/github_actions/Swatinem/rust-cache-2.8.1
2025-09-22 13:15:15 +01:00
dependabot[bot]
183cfebcbd
Bump Swatinem/rust-cache from 2.8.0 to 2.8.1
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](98c8021b55...f13886b937 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-version: 2.8.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-22 07:02:11 +00:00
Jonas Bushart
2fcdc490d6
Update readme and changelog for 1.15.0
v1.15.0
2025-09-14 21:49:03 +02:00
Jonas Bushart
89d3d963c9
Merge pull request #69 from Kubaryt/main
2025-09-14 20:38:20 +01:00
Rob Ede
1812c7dfe1
Merge pull request #72 from martinfrances107/README
2025-09-03 19:06:02 +01:00
martinfrances107
fd2478fbf0
README should direct users to actions/checkout@5.
2025-09-03 18:58:19 +01:00
Kubaryt
4222ef9487
Set workspaces in Swatinem/rust-cache to rust-src-dir if cache-workspaces is not set
2025-08-28 14:20:24 +02:00
Kubaryt
0be57f121b
combine rust-src-dir presence and rust_toolchain file presence checks
2025-08-28 14:20:24 +02:00
Rob Ede
7659442a2c
Merge pull request #71 from actions-rust-lang/dependabot/github_actions/actions/checkout-5
2025-08-28 13:07:54 +01:00
dependabot[bot]
40ca850926
Bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-28 01:51:01 +00:00
Jonas Bushart
ac90e63697
Update changelog for v1.14.1
v1.14
v1.14.1
2025-08-28 00:30:26 +02:00
Jonas Bushart
c6aecb0031
Update the dependabot schedule
...
Run weekly update checks now that actions are pinned by hash instead of major version tag.
2025-08-28 00:23:23 +02:00
Jonas Bushart
8b890917a5
Merge pull request #68 from JohnTitor/pin-actions
2025-08-28 00:18:14 +02:00
Kubaryt
426e06d077
enhancement: Add option to specify rust-toolchain.toml path ( #47 )
2025-08-27 17:28:40 +02:00
Rob Ede
f964086661
Merge branch 'main' into pin-actions
2025-08-26 07:10:09 +01:00
Jonas Bushart
ab6845274e
Add new parameters cache-all-crates and cache-workspace-crates
...
Add new parameters `cache-all-crates` and `cache-workspace-crates` that
are propagated to `Swatinem/rust-cache` as `cache-all-crates` and
`cache-workspace-crates`
Closes #67
v1.14.0
2025-08-23 17:08:42 +02:00
Yuki Okushi
eb1c1a5d34
Pin Swatinem/rust-cache action to a full commit SHA
2025-08-22 16:07:16 +09:00
Jonas Bushart
fb51252c7b
Update CHANGELOG.md
v1.13
v1.13.0
2025-06-16 23:47:58 +02:00
Jonas Bushart
33b85c358d
Merge pull request #65 from mindrunner/main
2025-06-16 23:44:51 +02:00
lukas
82947d77a9
feat: support cache-provider
2025-06-16 08:02:53 +02:00
Jonas Bushart
9d7e65c320
Update changelog for windows support
v1.12
v1.12.0
2025-04-23 22:46:51 +02:00
Jonas Bushart
9988a3d74b
Update the dependency section to mark the new windows rustup support
2025-04-23 22:42:15 +02:00
Jonas Bushart
0ddce9f632
Merge pull request #58 from maennchen/jm/windows-arm
2025-04-23 22:39:32 +02:00
Jonatan Männchen
d9c91b20fd
Support rustup installation for Windows
2025-04-23 16:47:51 +02:00
Jonas Bushart
9399c7bb15
Merge pull request #53 from actions-rust-lang/rel-1110
v1.11.0
v1.11
2025-02-24 21:55:37 +01:00
Rob Ede
3c7cfa82dc
Merge branch 'main' into rel-1110
2025-02-24 02:35:39 +00:00
Rob Ede
b38f618be2
Merge pull request #51 from enkhjile/main
2025-02-24 02:34:33 +00:00
Rob Ede
6cbea1a794
chore: prepare release 1.11.0
2025-02-24 02:19:52 +00:00
Rob Ede
6f9a9da9f9
Merge branch 'main' into main
2025-02-24 02:15:25 +00:00
Rob Ede
2ad14f9ee2
Merge pull request #52 from skanehira/main
2025-02-24 02:09:24 +00:00
Enkhjil Enkhbaatar
30081c4da5
fix: add cache-bin input with true as default value
2025-02-11 12:01:30 +09:00
skanehira
f8efd60d2d
feat: add shared-cache-key to inputs
2025-02-08 01:24:48 +09:00
Jonas Bushart
97db979bf8
Specify dependencies in README
2024-10-21 23:54:51 +02:00
Jonas Bushart
11df97af8e
Update the rustfmt problem matcher
...
https://github.com/rust-lang/rustfmt/pull/5971
https://github.com/actions-rust-lang/rustfmt/issues/5
v1.10.1
v1.10
2024-10-01 23:06:20 +02:00
Jonas Bushart
4d1965c914
Add override input parameter that controls the rustup override behavior
v1.10.0
2024-09-22 16:04:02 +02:00
Jonas Bushart
b31b1317f2
Allow installing multiple Rust toolchains at once.
2024-09-22 15:28:43 +02:00
Jonas Bushart
9f99923fad
Add pre-commit for basic checks
2024-09-20 00:46:09 +02:00
Jonas Bushart
86a2ce6673
Make toolchain install more robust
2024-09-20 00:39:06 +02:00
Jonas Bushart
eb4a655afd
Document new keys and add changelog
2024-09-20 00:27:10 +02:00
Jonas Bushart
a90048dfdd
Merge pull request #41 from iainlane/iainlane/propagate-cache-key
2024-09-20 00:23:43 +02:00
Jonas Bushart
597574aacb
Update key name in README
2024-09-20 00:23:09 +02:00
Jonas Bushart
634cedf365
Merge pull request #44 from pranc1ngpegasus/feat/able-to-cache-additional-directories
2024-09-20 00:09:58 +02:00
Fukaya Temma
5d6934e965
Able to cache additional directories
2024-08-18 01:34:59 +09:00
Iain Lane
b01657d9bb
Add support for adding to cache key
...
When using this action in multiple matrix jobs in the same workflow, the
generated cache key is the same for all of them, because they all get
the same job ID. This means that all apart from the first job are unable
to save the cache, and subsequent runs might restore the wrong cache.
The `Swatinem/rust-cache` action which we use for caching has a `key`
input which it puts in its cache key. (It doesn't override the key, just
adds to it.) Providing this as an input here will allow us to generate a
unique cache key for each job in the matrix.
2024-07-13 07:31:43 +01:00