Commit graph

34 commits

Author SHA1 Message Date
Alex Gaynor
a2ce5b34ac
fix cache action (#12371)
the workspace config isn't needed now that we have cargo.toml in the base of the repo
2025-01-31 12:08:29 -08:00
Alex Gaynor
ede8d466d8
fix a theoretical code injection issue (#12231) 2025-01-03 20:08:40 +00:00
dependabot[bot]
2dc79ca299
chore(deps): bump Swatinem/rust-cache in /.github/actions/cache (#12210)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.5 to 2.7.7.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](82a92a6e8f...f0deed1e0e)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-30 07:08:44 -05:00
Alex Gaynor
9642e5f94b
bust openssl cache due to github actions rolling back image changes (#11781)
* bust openssl cache due to github actions rolling back image changes

* Update action.yml
2024-10-16 16:58:05 -07:00
dependabot[bot]
3d238b9f33
Bump Swatinem/rust-cache from 2.7.3 to 2.7.5 in /.github/actions/cache (#11754)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.3 to 2.7.5.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](23bce251a8...82a92a6e8f)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-14 00:07:06 +00:00
Paul Kehrer
cbaa508e66
update actions/checkout everywhere (#10346)
* update actions/checkout everywhere

except manylinux2014, where we can't

* update rust-cache to use node20
2024-02-04 18:01:21 -05:00
Paul Kehrer
3519591d25
bump openssl in CI (#10298) 2024-01-30 16:46:21 +00:00
Paul Kehrer
7cb13a3bc9
we'll ship 3.2.0 for 42 (#9951)
* we'll ship 3.2.0 for 42

* invalidate the caches, sigh
2024-01-23 00:45:02 +00:00
dependabot[bot]
41312bf560
Bump Swatinem/rust-cache from 2.7.0 to 2.7.1 in /.github/actions/cache (#9751)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.7.0 to 2.7.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](a95ba19544...3cf7f8cc28)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:55:47 -04:00
dependabot[bot]
e1f02a3bc0
Bump Swatinem/rust-cache from 2.6.2 to 2.7.0 in /.github/actions/cache (#9595)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.6.2 to 2.7.0.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](e207df5d26...a95ba19544)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-13 07:34:24 -04:00
dependabot[bot]
ad611b0fe6
Bump Swatinem/rust-cache from 2.6.1 to 2.6.2 in /.github/actions/cache (#9468)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](578b235f6e...e207df5d26)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 12:07:54 +00:00
dependabot[bot]
51c0265d87
Bump Swatinem/rust-cache from 2.6.0 to 2.6.1 in /.github/actions/cache (#9407)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](b8a6852b4f...578b235f6e)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 02:02:10 +00:00
dependabot[bot]
6291682ab9
Bump Swatinem/rust-cache from 2.5.1 to 2.6.0 in /.github/actions/cache (#9344)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.5.1 to 2.6.0.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](dd05243424...b8a6852b4f)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-02 12:40:48 +00:00
dependabot[bot]
45161f3b30
Bump Swatinem/rust-cache from 2.5.0 to 2.5.1 in /.github/actions/cache (#9172)
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases)
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md)
- [Commits](2656b87321...dd05243424)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-03 20:12:36 +00:00
Alex Gaynor
09a499d93d
Normalize keys in cache (#9158)
Commas cause it to not cache
2023-06-30 12:33:46 +00:00
Alex Gaynor
16ee22f6b8
Try using the rust cache action (#9145)
* Try using the rust cache action

* Trigger CI to test cache
2023-06-27 22:22:54 +02:00
Alex Gaynor
93a6a3528e
Stop caching cargo and pip dirs (#9128)
They're of very limited value (I think), and they're some of the most unreliable parts of our infra.
2023-06-25 19:24:39 +02:00
Alex Gaynor
31c3f2daf8
Attach version comments to all pinned actions (#9115)
Excludes dtolnay/rust-toolchain since those are a commit on main
2023-06-23 05:26:38 +02:00
Alex Gaynor
c10618135d
Attempt to use sccache (#8896) 2023-06-04 19:20:47 +08:00
Paul Kehrer
a7d613b89f
reopen for 42 dev (#8993) 2023-05-31 03:29:55 +00:00
Paul Kehrer
c4d494fd3e
41.0.0 version bump (#8991)
* 41.0.0 version bump

* bust cache since we don't currently compute cache key including version
2023-05-30 21:33:32 +00:00
Alex Gaynor
965e04996f
Consolidate CI jobs (#8964) 2023-05-26 18:09:53 +00:00
Alex Gaynor
fb0606fd74
Stop using cargo-binutils (#8935)
Just find the copy of llvm-profdata/llvm-cov from rustc itself
2023-05-16 10:46:54 +08:00
Alex Gaynor
983b4617fe
Cache slightly less in rust-coverage jobs (#8934)
* Cache slightly less in rust-coverage jobs

* Trigger CI to test cache
2023-05-16 02:14:49 +00:00
Paul Kehrer
c6887af982
update cache key to reflect all rust files, not just cargo.lock (#8898)
rust uses mtime to determine if files are fresh or not. However, if the mtime of a file in main is newer than the mtime of a commit in a PR then it will load the cache and there will be weird errors since it thinks the cache is new enough but in reality the code has changed. This change ties our cache keys to all our rust files, not just our cargo.lock, and should resolve this issue.
2023-05-10 00:25:18 +00:00
Paul Kehrer
7af92f2ffb
modify cache keys to incorporate rust version (#8762)
* modify cache keys to incorporate rust version

* Update .github/actions/cache/action.yml

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>

---------

Co-authored-by: Alex Gaynor <alex.gaynor@gmail.com>
2023-04-20 18:17:26 -06:00
dependabot[bot]
de47a2224c
Bump actions/cache from 3.3.0 to 3.3.1 in /.github/actions/cache (#8512)
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.3.0...v3.3.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-13 13:22:56 +00:00
dependabot[bot]
b45cef0483
Bump actions/cache from 3.2.6 to 3.3.0 in /.github/actions/cache (#8478)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.6 to 3.3.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.6...v3.3.0)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-09 08:20:11 -05:00
Alex Gaynor
f8bbaeb626
Shrink the cache for ~/.cargo/bin (#8451)
* Shrink the cache for ~/.cargo/bin

* Test the cache restoration
2023-03-06 04:45:46 +08:00
dependabot[bot]
24350e47a9
Bump actions/cache from 3.2.5 to 3.2.6 in /.github/actions/cache (#8410)
Bumps [actions/cache](https://github.com/actions/cache) from 3.2.5 to 3.2.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/v3.2.5...v3.2.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-28 20:38:54 +00:00
Paul Kehrer
00e3ab2cb2
don't cache some things, output info about the cache size on hit (#8405)
* don't cache some things, output info about the cache size on hit

* empty commit to test cache
2023-02-28 06:48:46 -05:00
Alex Gaynor
127a286074
Always use the Cargo.lock in the GHA cache key (#8314) 2023-02-17 07:31:05 -06:00
Paul Kehrer
1c54e81754
simplify cache keys (#8288)
* simplify cache keys

* empty commit
2023-02-14 17:05:00 +00:00
Paul Kehrer
2bf2f2c030
make our rust/pip cache a composite action (#8287)
* make our rust/pip cache a composite action

* fixes
2023-02-14 15:44:51 +00:00