Commit graph

14 commits

Author SHA1 Message Date
Predrag Gruevski
37af5d4093
Nightly support is best-effort. Its CI steps are advisory, not required. (#83)
* Nightly support is best-effort. Its CI steps are advisory, not required.

* Avoid use of nightly Rust in `test-inputs.yml` tests.
2024-07-14 19:23:01 +00:00
Predrag Gruevski
300d7d49b9
Update cache keys in test-inputs.yml (#79)
It's always caching. Or DNS. This time it was caching.

A while back, we changed the default cache key prefix from empty-string to `semver` so that our cache key names don't start with a dash, since users found that confusing.

We should have updated these tests accordingly at the time, but we did not. So how did the PR with the change pass?

It used the caches from older runs of the same job which used the old names. When those caches expired and were GC'd by GitHub, the jobs started failing.

This is what broke CI for #77. This PR will fix it.
2024-07-02 14:47:48 +00:00
dependabot[bot]
c451059d78
Bump actions/checkout from 3 to 4 (#73)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [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/v3...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 14:30:33 -04:00
dependabot[bot]
e7dd74ede1
Bump actions/cache from 3 to 4 (#72)
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [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...v4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-19 17:38:41 +00:00
Predrag Gruevski
06053f9c6c
Support specifying features to test. (#49) 2023-06-06 14:49:48 -04: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
f2825830a8
Environmental variables (#28) (#36)
* Setting environmental variables

* Test the action also on 1.67
2023-04-17 08:45:37 -04: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
43d6c89249
Remove TODOs from workflows. (#35)
* Remove TODOs from workflows.

* Remove TODO in test-cache.yml
2023-04-08 10:19:56 -04:00
Mieszko Grodzicki
1fb47cb228 Get rid of fetch-depth: 0 in test-manifest-path-with-space 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
5618d5abb9 CI improvements (#17) 2023-02-27 16:42:26 -05:00
Mieszko Grodzicki
88e90a8d87 Tests and fixes for inputs (#14) 2023-02-27 16:42:26 -05:00