34 Commits

Author SHA1 Message Date
Dirkjan Ochtman
0f016846f1 Install extra components for lint workflow
Install rustfmt for workflows that call `cargo test`, to make sure
rustfmt is available for the `win_bindings` codegen test.
2025-09-26 09:59:34 +02:00
dependabot[bot]
0f22fbda3c 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-18 09:05:33 +02:00
Dirkjan Ochtman
12a814f860 Add weekly scheduled CI runs 2025-01-10 10:27:49 +01:00
dependabot[bot]
37ec019f86 Bump EmbarkStudios/cargo-deny-action from 1 to 2
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action) from 1 to 2.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases)
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 14:37:35 +02:00
Jubilee Young
6c86cd1560 Remove rustc-serialize from library 2024-03-30 15:01:40 +01:00
Paul Dicker
31145976e1 CI: Lint benchmarks 2024-03-06 19:36:50 +01:00
Paul Dicker
e2e0dfe315 Run clippy also against Windows target 2024-02-14 14:24:04 +01:00
Paul Dicker
1cebe0cfda Run GitHub Actions on push to 0.5.x branch 2024-02-12 10:36:23 +01:00
gibbz00
65f0cc2aa4 CI Linting: Fix missing sources checkout in toml job. 2024-01-09 17:47:35 +01:00
Gerd Zellweger
849932b09b Change the CI --all-features to an explicit list.
This is due to the mutually exclusive features in rkyv which
we expose now. `--all-features` will now activate them and the crate
will fail to compile rkyv. We work around this by defining
an explicit list of all mutually exclusive features to.

Unfortunately there isn't an easy way to share env variables
among different YAML files
(https://github.com/actions/runner/issues/655).

There also isn't a good way to specify `--all-features` minus
"just a few" (https://github.com/rust-lang/cargo/issues/3126)
aside from giving the complete list.

Signed-off-by: Gerd Zellweger <mail@gerdzellweger.com>
2023-12-29 09:51:40 +01:00
Paul Dicker
c892679e8d CI: run cargo-deadlinks for all features 2023-09-22 10:31:04 +02:00
Paul Dicker
85d4f7f590 Bump actions/checkout from 3 to 4 2023-09-11 09:22:50 +02:00
Paul Dicker
e39346e287 Move benchmarks to a separate crate 2023-09-03 07:08:09 +02:00
Paul Dicker
2665e3091d [CI] Run clippy on all features and targets 2023-06-08 15:19:09 +02:00
tottoto
b6cc4dbe63
Format toml with taplo (#1117) 2023-06-01 09:23:08 +02:00
Kevin Matthes
a03b2957e2 Add CFF validation job to lint.yml 2023-05-31 11:25:38 +02:00
jtmoon79
f616167f8b yamllint cleanup lint.yml test.yml
NFC fix most `yamllint` errors and warnings in
`lint.yml` and `test.yml`.
2023-05-30 09:46:18 +02:00
Paul Dicker
7bf98de158 [CI] Test rustdoc 2023-05-15 15:19:10 +02:00
Paul Dicker
3b3432e94c Add link checker to CI 2023-05-15 15:19:10 +02:00
Paul Dicker
40ed3bf063 Update github actions 2023-05-15 15:19:10 +02:00
Paul Dicker
fc8513b88c [CI] Lint Windows target 2023-05-15 15:19:10 +02:00
Paul Dicker
5dd7961c86 No need to allow clippy::manual-non-exhaustive 2023-05-15 15:19:10 +02:00
Dirkjan Ochtman
b1e0963efc Bump rust-cache action to v2 2023-03-10 13:15:31 +01:00
LingMan
d1043f39c8 Add chrono-fuzz to CI
Ensures future changes to break it again.
2023-03-03 11:42:39 +01:00
LingMan
90c7e55738 Run CI on changes to any file
Currently CI is only run on changes to specific files. The list of these files incomplete and would
likely get outdated again if it were expanded. Exluding specific files would be a shorter, more
stable list.
However, the changelog is only kept for posterity and the readme has seen all of two commits in the
past three years that wouldn't have triggered CI by changing other files as well, so don't bother
and just run CI for any changed file.
2023-03-03 11:42:39 +01:00
Dirkjan Ochtman
a05e7aaede Setup cargo-deny in CI 2022-12-19 16:50:30 +01:00
Eric Sheppard
eb82ae603d adjust lint workflow 2022-09-26 12:47:29 +02:00
Dirkjan Ochtman
147089b78f Run CI on PRs to 0.4.x branch 2022-09-19 15:36:22 +02:00
Dirkjan Ochtman
3a7d0e4806 Fix formatting in GitHub workflows 2022-06-08 11:39:31 +02:00
Milo
88e491569a fix uses 2021-10-26 09:56:25 +01:00
Milo
c4306b2155 caching 2021-10-26 09:52:35 +01:00
Brandon W Maister
130253ef2b
Support testing on both main and master (#454) 2020-07-11 13:56:02 -04:00
Brandon W Maister
13c2f0bfc2 Pin version of shellcheck
0.4.0 caused https://github.com/ludeeus/action-shellcheck/issues/21
2020-07-05 18:56:17 -04:00
Brandon W Maister
cc943c9650
Only run tests when rust files have changed (#443) 2020-07-01 18:27:38 -04:00