Commit Graph

136 Commits

Author SHA1 Message Date
Taiki Endo
1d9ff62a86 codegen: shellcheck 0.10.0+ provides AArch64 macOS binary 2025-01-29 04:31:40 +09:00
Taiki Endo
85a4a5fd84 codegen: sccache 0.8.2+ provides AArch64 Windows binary 2025-01-29 04:30:01 +09:00
Taiki Endo
1790ab988a codegen: just 1.28.0+ provides AArch64 Windows binary 2025-01-29 04:28:54 +09:00
Taiki Endo
5f4612956d codegen: cargo-semver-checks provides AArch64 Linux binary 2025-01-29 04:26:21 +09:00
Taiki Endo
32bd555d43 codegen: mdbook 0.4.44+ provides AArch64 macOS binary 2025-01-29 04:26:07 +09:00
Jiahao XU
1ef1e14c21 Extract install-action-manifest-schema and publish to crates-io (#657)
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Co-authored-by: Taiki Endo <te316e89@gmail.com>
2025-01-28 07:02:39 +00:00
Taiki Endo
b58c61fa21 Apply clippy::unused_trait_names lint 2025-01-13 23:41:50 +09:00
Taiki Endo
f82e1be4c6 codegen: Reflect editorconfig-checker 3.1.0 Windows asset_name change 2025-01-10 00:04:25 +09:00
Taiki Endo
8cec5c3000 codegen: Ignore clippy::literal_string_with_formatting_args lint
```
error: this looks like a formatting argument but it is not part of a formatting macro
   --> tools/codegen/src/main.rs:142:65
    |
142 | ...                   d.url = Some(template.url.replace("${version}", version));
    |                                                           ^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
    = note: `-D clippy::literal-string-with-formatting-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::literal_string_with_formatting_args)]`

error: this looks like a formatting argument but it is not part of a formatting macro
   --> tools/codegen/src/main.rs:146:64
    |
146 | ...                   .map(|s| s.map(|s| s.replace("${version}", version)));
    |                                                      ^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args

error: this looks like a formatting argument but it is not part of a formatting macro
   --> tools/codegen/src/main.rs:567:73
    |
567 |             let template_url = d.url.take().unwrap().replace(version, "${version}");
    |                                                                         ^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args

error: this looks like a formatting argument but it is not part of a formatting macro
   --> tools/codegen/src/main.rs:568:84
    |
568 |             let template_bin = d.bin.take().map(|s| s.map(|s| s.replace(version, "${version}")));
    |                                                                                    ^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args

error: this looks like a formatting argument but it is not part of a formatting macro
   --> tools/codegen/src/main.rs:615:29
    |
615 |     let mut s = s.replace("${package}", package).replace("${tool}", package);
    |                             ^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args

error: this looks like a formatting argument but it is not part of a formatting macro
   --> tools/codegen/src/main.rs:625:25
    |
625 |         s = s.replace("${version}", version);
    |                         ^^^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#literal_string_with_formatting_args
```
2024-12-27 10:57:03 +09:00
Azzam S.A
31e0d9e30c Add trunk (#795) 2024-12-27 10:39:01 +09:00
Joonas Bergius
dc05cefd7e Add wash (#794)
Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
2024-12-26 20:18:57 +09:00
Taiki Endo
d435865fa6 codegen: Mark cargo-rdme 1.4.8 as broken
Same as e72b7b51a2.
(macOS binary is missing)
2024-11-26 10:55:57 +09:00
Taiki Endo
dd2112f859 Update release-plz links 2024-11-21 23:55:04 +09:00
simonsan
6662e50b58 Add cargo-auditable (#741)
Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
2024-11-20 04:43:47 +09:00
Taiki Endo
b5ee2ee0c2 codegen: Remove needless clone 2024-11-20 04:10:19 +09:00
Taiki Endo
f0e0e09968 Update comments 2024-11-20 04:10:19 +09:00
Taiki Endo
adcdc5f593 hyperfine 1.19.0+ provides AArch64 macOS binary 2024-11-20 04:10:19 +09:00
Taiki Endo
33a1d08515 Fix clippy::unnecessary_map_or warning
```
error: this `map_or` is redundant
  --> tools/codegen/src/main.rs:68:34
   |
68 |         if r.len() < per_page || version_req.map_or(false, |req| req == "latest") {
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `version_req.is_some_and(|req| req == "latest")`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
   = note: `-D clippy::unnecessary-map-or` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::unnecessary_map_or)]`
```
2024-11-17 13:31:13 +09:00
Taiki Endo
e72b7b51a2 codegen: Mark cargo-rdme 1.4.7 as broken
Same as 3c1a9d610d, a86757441d, f9eee70b5f, and e2776d8a15.
2024-11-08 10:38:32 +09:00
Taiki Endo
e2776d8a15 codegen: Mark cargo-rdme 1.4.6 as broken
Same as 3c1a9d610d, a86757441d, and f9eee70b5f.
2024-11-07 09:54:16 +09:00
dependabot[bot]
e37760a6c3 Update fs-err requirement from 2 to 3 (#712)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-25 03:05:54 +09:00
Taiki Endo
f9eee70b5f codegen: Mark cargo-rdme 1.4.5 as broken
Same as 3c1a9d610d and
a86757441d.
2024-10-24 20:26:51 +09:00
Taiki Endo
02bd68d9a5 wasmtime now provides AArch64 Windows binary 2024-10-23 00:57:22 +09:00
Taiki Endo
0c760d6327 codegen: Add version_range to release-plz
Old releases don't have linux-musl binary.
2024-09-16 01:15:37 +09:00
Vitalii Kryvenko
43127da3b2 Add release-plz (#649) 2024-09-16 00:28:09 +09:00
John Vandenberg
22578ebfbe Add cargo-lambda (#601) 2024-09-07 07:01:10 +09:00
Taiki Endo
7ea7a2c18f Ignore clippy::too_long_first_doc_paragraph lint
```
error: first doc comment paragraph is too long
   --> tools/codegen/src/lib.rs:314:1
    |
314 | / /// GitHub Actions Runner supports Linux (x86_64, aarch64, arm), Windows (x86_64, aarch64),
315 | | /// and macOS (x86_64, aarch64).
316 | | /// https://github.com/actions/runner/blob/v2.315.0/.github/workflows/build.yml#L21
317 | | /// https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#supported-architectures-and-operating-systems-f...
318 | | ///
319 | | /// Note:
    | |_
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
    = note: `-D clippy::too-long-first-doc-paragraph` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::too_long_first_doc_paragraph)]`
```
2024-08-26 23:47:54 +09:00
Taiki Endo
66b16da49c codegen: Use LazyLock again 2024-08-12 05:02:13 +09:00
Taiki Endo
c995477ff1 Update TOOLS.md 2024-08-12 04:35:43 +09:00
Taiki Endo
3a2f9ffb94 Improve platform support 2024-07-16 00:11:38 +09:00
Jiahao XU
4558bb807b Speedup codegen by caching tools/codegen compilation (#554) 2024-06-22 12:43:03 +09:00
Taiki Endo
926cd2a86f codegen: Remove needless allocation 2024-06-21 22:08:16 +09:00
John Vandenberg
8162519fa9 Add knope (#553)
* Add knope

* Update tag_prefix
2024-06-21 19:35:52 +10:00
John Vandenberg
a6c0face45 Use asset etag to avoid fetches (#547) 2024-06-21 03:54:24 +00:00
Taiki Endo
a5ddc5a290 codegen: Cleanup 2024-06-20 04:34:01 +09:00
Taiki Endo
e2ceb8a503 codegen: Unify string conversion style 2024-06-20 04:32:58 +09:00
Taiki Endo
881201d335 Do not install to /usr/local/bin 2024-06-20 02:42:24 +09:00
Taiki Endo
3c1a9d610d codegen: Mark cargo-rdme 1.4.4 as broken
Same as a86757441d.
2024-06-11 04:55:02 +09:00
John Vandenberg
f6578d890d Add deepsource (#522) 2024-06-09 18:10:54 +09:00
John Vandenberg
e7b91e1d2b Add earthly (#520) 2024-06-09 18:10:43 +09:00
Taiki Endo
5a6e4c785f Add manifest for cargo-nextest 2024-06-09 16:41:17 +09:00
Taiki Endo
f9c15f1341 Update license links to Cargo.toml 2024-06-08 18:33:05 +09:00
John Vandenberg
a6bc18a46c Add jaq (#513)
* Add jaq

* switch to musl

* update markdown
2024-06-08 08:22:08 +00:00
John Vandenberg
df5666f536 Add xh (#512) 2024-06-08 17:33:29 +10:00
John Vandenberg
a0060a7f49 Add wait-for-them (#514)
* Add wait-for-them

* add to glibc_pre_2_34_incompat

* ignore --help/--version check

* update markdown
2024-06-08 16:58:09 +10:00
John Vandenberg
66c4dcc03d Add rclone (#511)
* Add rclone

* fix cspell

* specify bin dir
2024-06-08 16:07:49 +10:00
John Vandenberg
45b6915b2c Add cargo-zigbuild (#508) 2024-06-06 18:37:27 +10:00
John Vandenberg
ecb44a0aaf Add cargo-semver-checks (#507) 2024-06-06 07:29:14 +09:00
Nate Daines
ef498a3640 Update codegen and manifest for osv-scanner due to file name format change (#506) 2024-06-06 07:28:45 +09:00
John Vandenberg
6ebd8c0cb0 Generate TOOLS.md header/footer (#504) 2024-06-04 21:59:23 +09:00