104 Commits
Author SHA1 Message Date
Taiki Endo 411aa4ba3c Support wild (#1949) 2026-07-23 20:57:02 +09:00
Taiki Endo 3bf0b894d5 Deprecate mdbook-alerts and iai-callgrind-runner 2026-05-17 18:39:37 +09:00
Taiki Endo 074ce647d0 wasm-pack repo has been moved
Closes #1809
Closes #1810
2026-05-12 03:42:45 +09:00
Taiki Endo d1eee517af codegen: Ignore uv 0.11.9
```
verifying https://github.com/astral-sh/uv/releases/download/0.11.9/uv-x86_64-unknown-linux-musl.tar.gz with gh attestation verify

Error: HTTP 404: Not Found (https://api.github.com/repos/astral-sh/uv/attestations/sha256:ac3e5051edbf30613b0f90d1c18d4807fea6b246f37490799fee0c1284a658b2?per_page=30&predicate_type=https://slsa.dev/provenance/v1)
```

https://github.com/astral-sh/uv/issues/19278
2026-05-05 22:47:55 +09:00
Taiki Endo bbe1b9d5e1 Support rust 2026-05-05 03:04:34 +09:00
Taiki Endo 57f2d4f754 codegen: Pin cargo-binstall version in base manifest 2026-05-04 20:36:22 +09:00
Taiki Endo 0cc19d4b74 codegen: Remove flaky license auto-detection 2026-04-15 22:25:36 +09:00
Taiki Endo dfb05aa008 codegen: Apply cooldown also for latest_only 2026-04-13 22:14:39 +09:00
Taiki Endo 0486bdd90e Support cosign 2026-04-08 00:33:03 +09:00
Taiki Endo eab6539ed6 codegen: Exclude very recently released version from candidate for
latest and omitted versions
2026-04-05 16:29:47 +09:00
Taiki Endo 11f5a9921c codegen: Detect deleted releases 2026-04-05 04:19:28 +09:00
♫ Christian Krause ♫ b3b4c93c56 Fix error message grammar (#1616) 2026-03-24 20:17:45 +09:00
Taiki Endo c35d18270e Support signature verification for mise and syft 2026-03-22 01:51:55 +09:00
Taiki Endo 525387f706 codegen: Clean up error handling and move some checks to appropriate
place

Unless error handling is done in particular care, in private tools this
approach tends to make debugging easier when failed.
2026-03-22 00:24:42 +09:00
Taiki Endo 9881fbaadb Update TOOLS.md to include aliases 2026-03-21 05:53:02 +09:00
Taiki Endo 8418e9f725 Support artifact attestations verification 2026-03-21 04:45:12 +09:00
Taiki Endo 68bba89805 manifest-schema: Apply clippy::exhaustive_enums and
clippy::exhaustive_structs
2026-03-21 03:51:13 +09:00
Taiki Endo 7df5094d28 manifest-schema: Rename ManifestDownloadInfo::checksum to hash to reduce
manifest size

Before:
```
wc -c manifests/* | grep total
2808686 total
```

After:
```
wc -c manifests/* | grep total
2748178 total
```
2026-03-21 03:48:16 +09:00
Taiki Endo 9089010789 manifest-schema: BaseManifest is not a part of Manifest
manifest-schema branch doesn't contain base manifests.
2026-03-21 03:31:00 +09:00
Taiki Endo 5ccf6295e6 codegen: Avoid allocation in workspace_root() 2026-03-09 00:29:35 +09:00
Taiki Endo a62e6211cb codegen: Use ring instead of sha2
```
    Updating crates.io index
     Locking 0 packages to latest compatible versions
    Removing block-buffer v0.10.4
    Removing cpufeatures v0.2.17
    Removing crypto-common v0.1.7
    Removing digest v0.10.7
    Removing generic-array v0.14.7
    Removing sha2 v0.10.9
    Removing typenum v1.19.0
    Removing version_check v0.9.5
```
2025-12-17 20:19:06 +09:00
Taiki Endo 4830d35beb codegen: Allow lacking x86_64_macos when aarch64_macos is available 2025-10-11 23:55:37 +09:00
Taiki Endo 3a6ab413c1 Support powerpc64le/riscv64/s390x Linux runners 2025-09-08 23:24:31 +09:00
dependabot[bot] 405215e4b1 Update spdx requirement from 0.11 to 0.12 (#1102) 2025-08-23 12:37:23 +10:00
Taiki Endo 83b71b9001 codegen: Check that the digest matches GitHub Releases' one
https://github.blog/changelog/2025-06-03-releases-now-expose-digests-for-release-assets/
2025-07-26 02:21:37 +09:00
Taiki Endo ea7f99bca8 codegen: Use toml instead of toml_edit 2025-07-10 00:20:52 +09:00
John Vandenberg 7afdc6d42b Add cyclonedx (#1000)
Also improve check that gnu binaries are not needed if musl exists.
2025-06-19 20:55:47 +09:00
John Vandenberg fde7b8ff39 Avoid regenerating license_markdown if present and still valid (#973) 2025-05-22 22:54:59 +10:00
Taiki Endo 537312ee19 codegen: Exclude versions not released on crates.io from candidate for "latest" 2025-04-04 07:33:46 +09:00
Taiki Endo 011a3fc5ce rustfmt: set style_edition = "2024" 2025-02-23 22:32:18 +09:00
Taiki Endo 804d0fbae7 Revert "codegen: Update ureq from 2 to 3"
This reverts commit bee06ee963.

See https://github.com/taiki-e/install-action/pull/831#issuecomment-2650284580.
2025-02-11 18:45:46 +09:00
Taiki Endo c92f25fe23 codegen: Dedup x86_64_windows/aarch64_windows 2025-02-11 18:41:00 +09:00
Taiki Endo 771bd4fef9 codegen: Tweak code around BufWriter 2025-02-11 18:40:20 +09:00
Taiki Endo bee06ee963 codegen: Update ureq from 2 to 3 2025-02-06 23:24:03 +09:00
Taiki Endo be22d29d34 Fix clippy::unnecessary_semicolon warning
```
error: unnecessary semicolon
   --> tools/codegen/src/main.rs:251:10
    |
251 |         };
    |          ^ help: remove
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_semicolon
    = note: `-D clippy::unnecessary-semicolon` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::unnecessary_semicolon)]`
```
2025-01-30 14:03:36 +09:00
Jiahao XUandTaiki Endo 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 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
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 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 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