Modernize CI to use current, non-archived actions #60
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As discussed in #59, this PR updates the CI, which is now using to the following:
actions/checkout@v4
dtonlay/rust-toolchain@stable
The rust version is pinned with an env variable named
MSRV
to1.76
. This applies for all builds, tests, fmt, and clippy.On target
x86_64-unknown-linux-gnu
, all features are built and tested. I also added a matrix entry for theregex
feature alone, as this has previously only been tested as part of thefrom_str
feature. Addingregex
alone as well seems more consistent, as we also teststd
alone (even though it is part offrom_str
as well). Also continuing to test nightly but don't fail.On targets
thumbv6m-none-eabi
andthumbv7m-none-eabi
, as previously, thecargo build
is run. Continue to do the same with nightly but don't fail.cargo fmt
is still here as before, so iscargo clippy
. The latter again is also matrixed with all features as for thex86_64...
target.