Commit graph

66 commits

Author SHA1 Message Date
David Tolnay
8bc261eb41
Revert "Disregard outdated deranged crate"
This reverts commit 12a0d5320e.
2025-03-24 15:12:57 -07:00
David Tolnay
12a0d5320e
Disregard outdated deranged crate 2025-03-24 10:42:01 -07:00
David Tolnay
38a2228409
Fix -Zrandomize-layout setting in Windows jobs
This didn't take effect when run by the default pwsh shell.
2025-01-25 19:13:18 -08:00
David Tolnay
8ad3fc774a
Ignore Windows linker warning
error: linker stderr: Warning: corrupt .drectve at end of def file␍
           Warning: corrupt .drectve at end of def file␍
      |
      = note: `-D linker-messages` implied by `-D warnings`
      = help: to override `-D warnings` add `#[allow(linker_messages)]`
2025-01-25 19:05:09 -08:00
David Tolnay
786dd97fc5
Raise required compiler to 1.81
Required by `home` since 0.5.11.

    error: package `home v0.5.11` cannot be built because it requires rustc 1.81 or newer, while the currently active rustc version is 1.74.1
    Either upgrade to rustc 1.81 or newer, or use
    cargo update home@0.5.11 --precise ver
    where `ver` is the latest version of `home` supporting rustc 1.74.1
2024-12-16 20:23:48 -08:00
David Tolnay
850c0550a0
Prevent upload-artifact step from causing CI failure
This step has been failing way more than reasonable across my various repos.

    With the provided path, there will be 1 file uploaded
    Artifact name is valid!
    Root directory input is valid!
    Attempt 1 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 3000 ms...
    Attempt 2 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 6029 ms...
    Attempt 3 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 8270 ms...
    Attempt 4 of 5 failed with error: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact. Retrying request in 12577 ms...
    Error: Failed to CreateArtifact: Failed to make request after 5 attempts: Request timeout: /twirp/github.actions.results.api.v1.ArtifactService/CreateArtifact
2024-11-08 21:45:37 -05:00
David Tolnay
09f73c8182
Load custom bat theme assets 2024-10-24 00:19:52 -07:00
David Tolnay
94ef1d73b0
Delete non_exhaustive_omitted_patterns lint and exhaustive cfg 2024-10-19 19:37:58 -07:00
David Tolnay
221302e35f
Fix typo in upload-artifact condition 2024-08-25 12:50:33 -07:00
David Tolnay
a254291b7d
Upload CI Cargo.lock for reproducing failures 2024-08-25 12:12:20 -07:00
David Tolnay
ed628471e7
Minimize RUSTFLAGS churn to reduce some rebuilds 2024-03-29 14:22:11 -07:00
David Tolnay
e8878f449f
Consolidate CI test and build workflows 2024-03-29 14:17:38 -07:00
David Tolnay
d9bf9ec500
Skip cargo test in most CI jobs 2024-03-29 13:48:52 -07:00
David Tolnay
5185a4df8a
Add CI on macOS and Windows 2024-03-29 13:44:15 -07:00
David Tolnay
799aa1079b
Explicitly install a Rust toolchain for cargo-outdated job
Debugging a recent cargo-outdated bug, it would have been nice not to
wonder whether a rustc version change in GitHub's runner image was a
contributing factor.
2024-03-25 22:24:49 -07:00
David Tolnay
4934b35c02
Raise minimum tested compiler to 1.74
Required by newest versions of clap and clap_builder.

    error: package `clap_builder v4.5.0` cannot be built because it requires rustc 1.74 or
    newer, while the currently active rustc version is 1.70.0
    Either upgrade to rustc 1.74 or newer, or use
    cargo update -p clap_builder@4.5.0 --precise ver
    where `ver` is the latest version of `clap_builder` supporting rustc 1.70.0
2024-02-08 19:14:26 -08:00
David Tolnay
c342b03222
Trigger check_install workflow when a tag is pushed 2023-10-02 11:25:00 -04:00
David Tolnay
f50d0f265c
Add CI job to validate that installing published version works 2023-10-02 01:37:57 -04:00
David Tolnay
372e8ef30e
Update actions/checkout@v3 -> v4 2023-09-04 22:34:56 -07:00
David Tolnay
23be22db3b
Revert "Temporarily disable -Zrandomize-layout due to rustc ICE"
Fixed in nightly-2023-07-23.

This reverts commit 36a2e05e9d.
2023-07-22 18:39:52 -07:00
David Tolnay
36a2e05e9d
Temporarily disable -Zrandomize-layout due to rustc ICE
https://github.com/rust-lang/rust/issues/113941
2023-07-21 20:22:38 -07:00
David Tolnay
e07f896029
Delete CI dependency on rustfmt
No longer needed since the integration of prettyplease.
2023-07-14 21:50:41 -07:00
David Tolnay
ab40799d78
Raise minimum tested compiler to 1.70
error[E0658]: use of unstable library feature 'is_terminal'
       --> github.com-1ecc6299db9ec823/grep-cli-0.1.8/src/lib.rs:168:5
        |
    168 | use std::io::IsTerminal;
        |     ^^^^^^^^^^^^^^^^^^^

    error[E0658]: use of unstable library feature 'is_terminal'
       --> github.com-1ecc6299db9ec823/grep-cli-0.1.8/src/lib.rs:220:22
        |
    220 |     std::io::stdin().is_terminal()
        |                      ^^^^^^^^^^^

    error[E0658]: use of unstable library feature 'is_terminal'
       --> github.com-1ecc6299db9ec823/grep-cli-0.1.8/src/lib.rs:232:23
        |
    232 |     std::io::stdout().is_terminal()
        |                       ^^^^^^^^^^^

    error[E0658]: use of unstable library feature 'is_terminal'
       --> github.com-1ecc6299db9ec823/grep-cli-0.1.8/src/lib.rs:238:23
        |
    238 |     std::io::stderr().is_terminal()
        |                       ^^^^^^^^^^^
2023-07-05 14:14:20 -07:00
David Tolnay
9880cb5940
Validate that pre-existing lockfile is not stale on first check 2023-07-04 11:23:55 -07:00
David Tolnay
5bfa04128c
Re-enable cargo outdated CI 2023-03-22 18:21:53 -07:00
David Tolnay
b7ddff13a2
Temporarily defer prettyplease update which must match syn version 2023-03-22 17:54:56 -07:00
David Tolnay
c3f226a5b8
Test exhaustiveness of expr match 2023-03-22 17:45:59 -07:00
David Tolnay
d7138357d0
Temporarily defer syn upgrade from failing cargo outdated job 2023-03-22 15:00:56 -07:00
David Tolnay
a51269c63d
Enable type layout randomization in CI on nightly 2023-02-18 21:21:57 -08:00
David Tolnay
ba4b2b81bd
Support a manual trigger on CI workflow 2023-02-18 17:23:51 -08:00
David Tolnay
98376071ac
Raise minimum rustc to 1.64
Required by clap 4.1 / clap_lex 0.3.1:

    error: package `clap_lex v0.3.1` cannot be built because it requires rustc 1.64.0 or newer
2023-01-13 19:07:08 -08:00
David Tolnay
42c4bdf647
Prevent actions duplication on noop merge commits 2022-12-31 12:45:32 -08:00
David Tolnay
0a12097eb7
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:16 -08:00
David Tolnay
dc38fc8db9
Add a sponsors link 2022-11-20 22:25:37 -08:00
David Tolnay
560474732e
GitHub Workflows security hardening 2022-09-02 15:09:27 -07:00
David Tolnay
9e6d9270e7
Prettyplease default, rustfmt opt-in via config 2022-08-13 12:21:22 -07:00
David Tolnay
b6be9f893a
Check all crates in workspace for outdated deps 2022-06-06 14:39:20 -07:00
David Tolnay
4893a2fc8d
Update bat to 0.21 2022-05-12 14:12:49 -07:00
David Tolnay
841616c039
Revert "Pin syntect to 4.6.0"
This reverts commit 44968ac2cd.
2022-05-12 14:06:10 -07:00
David Tolnay
6d9b823c31
Defer bat upgrade temporarily 2022-05-12 14:05:20 -07:00
David Tolnay
b181f681cd
Raise minimum compiler version to 1.58 2022-05-11 23:25:28 -07:00
David Tolnay
32ec0f210e
Drop unneeded quoting from env variable in workflows yaml 2022-04-28 19:29:07 -07:00
David Tolnay
441cdf504e
Update workflows to actions/checkout@v3 2022-04-24 19:05:03 -07:00
David Tolnay
5a116832ad
Revert "Temporarily disable beta CI"
This reverts commit 2a2318d4c6.
2022-01-12 19:06:12 -08:00
David Tolnay
3176152239
Format output using prettyplease 2022-01-12 14:12:18 -08:00
David Tolnay
2a2318d4c6
Temporarily disable beta CI 2022-01-08 12:19:03 -08:00
David Tolnay
44968ac2cd
Pin syntect to 4.6.0 2022-01-03 00:47:18 -08:00
David Tolnay
98ebe9da5d
Run clap debug asserts as a unit test 2022-01-02 14:53:23 -08:00
David Tolnay
865ae25b6e
Update to clap 3 2022-01-02 14:49:03 -08:00
David Tolnay
5648730567
Detect warnings in CI 2021-12-31 22:10:22 -08:00