Commit Graph

24 Commits

Author SHA1 Message Date
David Tolnay
2922a8ec2f
Time out workflows after 45 minutes
GitHub's default timeout is 6 hours. Recently some of my GitHub Actions
jobs have started randomly stalling for that long, which is inconvenient
because it ties up a chunk of my runner quota. It apepars to be very
rare for a job to recover after stalling. It's better to time out
quicker and retry on a different runner.
2022-11-25 18:56:18 -08:00
David Tolnay
1e2b19847e
Raise minimum tested toolchain to rust 1.56
Required by the transitive dev-dependency on once_cell.

    error: failed to parse manifest at github.com-1ecc6299db9ec823/once_cell-1.15.0/Cargo.toml

    Caused by:
      feature `edition2021` is required

      The package requires the Cargo feature called `edition2021`, but that feature is not stabilized in this version of Cargo (1.55.0 (32da73ab1 2021-08-23)).
      Consider trying a newer version of Cargo (this may require the nightly release).
      See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2021 for more information about the status of this feature.
2022-09-20 22:26:55 -07:00
David Tolnay
2f18cb379b
GitHub Workflows security hardening 2022-09-02 15:09:30 -07:00
David Tolnay
8cf6d7b565
Use dtolnay/rust-toolchain's miri toolchain
This defaults to components miri + rust-src.
2022-06-29 10:56:00 -07:00
David Tolnay
aa2f9857cd
Check all crates in workspace for outdated deps 2022-06-06 14:39:23 -07:00
David Tolnay
1fceb4a09d
Match components in CI to rust-toolchain.toml file 2022-05-06 20:53:11 -07:00
David Tolnay
fd5bc0721f
Run miri in stricter miri-strict-provenance mode 2022-05-06 04:01:34 -07:00
David Tolnay
17c7c5a964
Add a miri test job in CI 2022-04-28 20:30:35 -07:00
David Tolnay
a814eda935
Drop unneeded quoting from env variable in workflows yaml 2022-04-28 19:29:11 -07:00
David Tolnay
607a171c05
Update workflows to actions/checkout@v3 2022-04-25 01:49:18 -07:00
David Tolnay
ae93cf2947
Detect warnings in CI 2021-12-31 22:15:51 -08:00
David Tolnay
9a85a5a40b
Adapt benchmark to run in both macro and non-macro context 2021-12-26 13:22:02 -08:00
David Tolnay
7e423924cc
Run clippy on benches as well 2021-12-12 14:00:56 -08:00
David Tolnay
3ef90b3b27
Install newest build of cargo-outdated
The old version available by default in the GitHub Actions image fails
with:

    thread 'main' panicked at 'package cache lock is not currently held, Cargo forgot to call `acquire_package_cache_lock` before we got to this stack frame', /usr/share/rust/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo-0.57.0/src/cargo/util/config/mod.rs:1542:9
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2021-11-17 13:32:20 -08:00
David Tolnay
4ad54733bf
Add actions job to notice outdated dependencies 2021-10-08 01:47:06 -04:00
David Tolnay
da8a42c3f8
Update ui test suite to nightly-2021-10-07 2021-10-07 00:28:38 -04:00
David Tolnay
6c4aba5a45
Run clippy on test suite too 2021-09-30 01:43:30 -04:00
David Tolnay
dcbfb23ca1
Skip clippy job on pull requests 2021-09-18 16:50:36 -07:00
David Tolnay
290262885a
Fix catching clippy warnings as CI failures 2021-01-04 23:49:11 -08:00
David Tolnay
4a597c9c83
Opt in to pedantic clippy lints 2020-12-29 17:20:34 -08:00
David Tolnay
15791062d8
Run clippy linter in CI 2020-12-29 17:19:01 -08:00
David Tolnay
9ccd8089c2
Add a sponsors link 2020-06-09 20:53:09 -07:00
David Tolnay
a4b9b850d8
Remove Travis configuration 2020-05-05 11:31:00 -07:00
David Tolnay
9c4b098188
Enable GitHub Actions 2020-05-02 15:02:35 -07:00