Commit Graph

29 Commits

Author SHA1 Message Date
David Tolnay 3cda68a7ea
Add CI job using minimal-versions 2023-07-04 12:27:19 -07:00
David Tolnay 6735d4b033
Show error details during miri setup in CI
Without this, if it fails, the only information printed is useless:

    Preparing a sysroot for Miri (target: x86_64-unknown-linux-gnu)...
    fatal error: failed to build sysroot; run `cargo miri setup` to see the error details
2023-05-23 08:29:47 -07:00
David Tolnay 07c66e7259
Run clippy on all crates in workspace 2023-03-17 17:55:31 -07:00
David Tolnay fb8b81f20b
Update to syn 2 2023-03-17 17:49:32 -07:00
David Tolnay a2d1ed1ccf
Enable type layout randomization in CI on nightly 2023-02-19 09:21:59 -08:00
David Tolnay 7aaa03d94a
Show enabling of nightly tests as a CI step 2023-02-19 09:19:33 -08:00
David Tolnay 0010b0fd96
Support a manual trigger on CI workflow 2023-02-18 17:23:57 -08:00
David Tolnay 0d23ebc77a
Prevent actions duplication on noop merge commits 2022-12-31 12:45:33 -08:00
David Tolnay c25a710813
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:19 -08:00
David Tolnay b37dc365b6
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:08:50 -07:00
David Tolnay 2f093b5fbc
GitHub Workflows security hardening 2022-09-02 15:09:32 -07:00
David Tolnay d2f761f0ea
Use dtolnay/rust-toolchain's miri toolchain
This defaults to components miri + rust-src.
2022-06-29 10:55:40 -07:00
David Tolnay 829ed494ef
Check all crates in workspace for outdated deps 2022-06-06 14:39:25 -07:00
David Tolnay 305b57af1c
Match components in CI to rust-toolchain.toml file 2022-05-06 20:52:53 -07:00
David Tolnay 6195232e2a
Run miri in stricter miri-strict-provenance mode 2022-05-06 04:01:35 -07:00
David Tolnay 2a29fda086
Add a miri test job in CI 2022-04-28 20:39:41 -07:00
David Tolnay 244edc83d5
Update workflows to actions/checkout@v3 2022-04-24 19:04:04 -07:00
David Tolnay 91333fa18a
Include global rustflags in rustflags override 2022-01-01 00:26:29 -08:00
David Tolnay d2e2ad151c
Detect warnings in CI 2022-01-01 00:07:36 -08:00
David Tolnay 48bbdff4a4
Update minimum compiler for tests to 1.38 2021-11-19 19:13:11 -08:00
David Tolnay e86c024cdf
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:31:13 -08:00
David Tolnay 035abbd652
Add actions job to notice outdated dependencies 2021-10-08 01:47:26 -04:00
David Tolnay 791a98eb93
Update ui test suite to nightly-2021-10-07 2021-10-07 00:27:37 -04:00
David Tolnay bda41eb005
Skip clippy job on pull requests 2021-09-18 16:47:24 -07:00
David Tolnay c09ddc2241
Fix catching clippy warnings as CI failures 2021-01-04 23:52:19 -08:00
David Tolnay c0a56fefbe
Opt in to pedantic clippy lints 2020-12-29 16:22:54 -08:00
David Tolnay e5191e76ad
Run clippy on test suite in CI 2020-05-21 18:45:01 -07:00
David Tolnay 8c5ba438e0
Remove Travis configuration 2020-05-03 23:33:57 -07:00
David Tolnay 4c639125f8
Enable GitHub Actions 2020-05-03 01:17:30 -07:00