187 Commits

Author SHA1 Message Date
Jonas Bushart
ecabd13d1c Prepare changelog for 2.0.0 release v2.0.0 v2.0 v2 2026-09-07 23:49:28 +02:00
Jonas Bushart
dc0039119c Add error matcher for Rust panics 2026-09-07 23:45:08 +02:00
Jonas Bushart
70de7eb7ad Merge pull request #103 from ChihweiLHBird/reuse-rustc-verbose-output
Reuse rustc verbose output instead of invoking rustc three times.
2026-09-07 23:34:59 +02:00
Jonas Bushart
c420b69d2b Merge pull request #105 from actions-rust-lang/use-build-warnings
Use CARGO_BUILD_WARNINGS for enforcing warning free compilations
2026-09-07 23:34:07 +02:00
Jonas Bushart
d94d10afcf Use CARGO_BUILD_WARNINGS for enforcing warning free compilations
This is a new variable supported by cargo 1.97+ and sets the
build.warnings config. It allows removing the RUSTFLAGS="-D warnings"
default, which will improve compatibility with target.*.rustflags and
.cargo/config.toml files.

This adds a new build-warnings input to configure the value for the
build.warnings config.

Closes #98
2026-09-03 11:50:39 +02:00
Zhiwei Liang
34430aa949 Reuse rustc verbose output instead of invoking rustc three times.
Signed-off-by: Zhiwei Liang <zhiwei.liang@zliang.me>
2026-08-26 03:35:40 -04:00
Rob Ede
0267444136 Merge pull request #102 from actions-rust-lang/dependabot/github_actions/Swatinem/rust-cache-2.9.2
Bump Swatinem/rust-cache from 2.9.1 to 2.9.2
2026-08-19 13:50:56 +01:00
dependabot[bot]
5fa2882d53 Bump Swatinem/rust-cache from 2.9.1 to 2.9.2
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.9.1 to 2.9.2.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](c19371144d...6323deb102)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-version: 2.9.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-19 07:32:26 +00:00
Rob Ede
8439c15d24 Merge pull request #100 from actions-rust-lang/dependabot/github_actions/actions/checkout-7.0.1
Bump actions/checkout from 7.0.0 to 7.0.1
2026-07-29 12:09:41 +03:00
dependabot[bot]
c8f944a9fe Bump actions/checkout from 7.0.0 to 7.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [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/v7.0.0...v7.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-29 07:32:21 +00:00
Jonas Bushart
166cdcfd11 Update changelog to v1.17.0 v1 v1.17.0 v1.17 2026-06-25 23:00:09 +02:00
Jonas Bushart
446e959dda Merge pull request #97 from actions-rust-lang/dependabot/github_actions/actions/checkout-7.0.0
Bump actions/checkout from 6.0.3 to 7.0.0
2026-06-25 22:53:14 +02:00
Jonas Bushart
29eefe925b Merge pull request #96 from somaz94/feat/cache-targets
feat: add cache-targets input propagated to Swatinem/rust-cache
2026-06-25 22:52:54 +02:00
dependabot[bot]
ed33c05dad Bump actions/checkout from 6.0.3 to 7.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0.
- [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/v6.0.3...v7.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-24 07:32:24 +00:00
somaz
32bae04c0a feat: add cache-targets input propagated to Swatinem/rust-cache 2026-06-24 14:56:37 +09:00
Jonas Bushart
46a9d261ee Merge pull request #95 from actions-rust-lang/dependabot/github_actions/actions/checkout-6.0.3
Bump actions/checkout from 6.0.2 to 6.0.3
2026-06-12 18:31:06 +02:00
dependabot[bot]
54531a0d49 Bump actions/checkout from 6.0.2 to 6.0.3
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 6.0.3.
- [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/v6.0.2...v6.0.3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-10 07:32:33 +00:00
Jonas Bushart
dc354b3df5 Merge pull request #94 from actions-rust-lang/dependabot/github_actions/actions/checkout-6.0.2
Bump actions/checkout from 6 to 6.0.2
2026-06-04 20:21:35 +02:00
dependabot[bot]
cbb9413f8e Bump actions/checkout from 6 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 6.0.2.
- [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/v6...v6.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 01:22:08 +00:00
Jonas Bushart
46268bd060 Merge pull request #92 from actions-rust-lang/rename-local-variables v1.16 v1.16.1 2026-05-08 23:02:50 +02:00
Jonas Bushart
826365c075 Update changelog 2026-05-08 22:46:39 +02:00
Jonas Bushart
4f937ac0ba Rename local variables to avoid conflicts with global variables
Global variables can interfere with the action's internal logic,
especially when they have common names. To prevent this, all local
variables in the action have been renamed with a `_srt_` prefix
(indicating they are specific to the setup-rust-toolchain action). This
change ensures that there are no conflicts between local variables and
any globally existing variables, which has caused issues in the past.

Closes #91
2026-05-07 23:49:41 +02:00
Jonas Bushart
2b1f5e9b39 Update CHANGELOG for version 1.16.0
Add release notes for version 1.16.0 including new parameter.
v1.16.0
2026-04-13 21:33:09 +02:00
Jonas Bushart
9030f3d7f5 Merge pull request #90 from ChanTsune/feat/cache-save-if 2026-04-13 21:31:20 +02:00
ChanTsune
186b99ef06 feat: add cache-save-if input to propagate save-if to Swatinem/rust-cache 2026-04-11 23:57:43 +09:00
Jonas Bushart
d197c15826 Merge pull request #88 from ryuapp/chore/update-chekcout-v6-on-readme 2026-03-22 18:04:17 +01:00
Ryu
fa057b45cf Update actions/checkout to v6 on README 2026-03-22 12:17:35 +09:00
Jonas Bushart
150fca883c Update CHANGELOG for version 1.15.4
Added release notes for version 1.15.4, including dependency updates.
v1.15 v1.15.4
2026-03-15 00:49:10 +01:00
Jonas Bushart
aa63f5758d Merge pull request #87 from hyperfinitism/deps/bump-rust-cache 2026-03-15 00:46:40 +01:00
Takuma IMAMURA
229ed076e8 deps: Bump Swatinem/rust-cache from 2.8.2 to 2.9.1
Update rust-cache to v2.9.1 to migrate from Node.js 20 to Node.js 24.
Node.js 20 reaches EoL at the end of April 2026.

Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com>
2026-03-15 05:14:16 +09:00
Jonas Bushart
a0b538fa0b Update changelog v1.15.3 2026-03-01 00:12:34 +01:00
Jonas Bushart
e0e53f12ac Merge pull request #85 from xtqqczze/gitignore 2026-03-01 00:08:53 +01:00
xtqqczze
a000416346 Add .gitignore to exclude test-workspace/target/ 2026-01-29 02:23:16 +00:00
Jonas Bushart
806aa7ddf5 Add dependabot cooldown
This limits how quickly new dependencies are considered for updates.
2025-12-24 21:24:49 +02:00
Rob Ede
b598bed351 Merge pull request #83 from actions-rust-lang/dependabot/github_actions/Swatinem/rust-cache-2.8.2 2025-12-01 09:57:48 +00:00
dependabot[bot]
e541adf990 Bump Swatinem/rust-cache from 2.8.1 to 2.8.2
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](f13886b937...779680da71)

---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
  dependency-version: 2.8.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-01 09:13:07 +00:00
Rob Ede
ca4a6432af Merge pull request #82 from actions-rust-lang/dependabot/github_actions/actions/checkout-6 2025-11-24 12:17:26 +00:00
dependabot[bot]
c103666ab0 Bump actions/checkout from 5 to 6
Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 6.
- [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/v5...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-24 07:02:51 +00:00
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.15.2
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