mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-27 09:30:29 +00:00
Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
48b4f3243f | ||
|
|
47246c73b5 | ||
|
|
a005b5b568 | ||
|
|
f03bd5e420 | ||
|
|
19b440e2a1 | ||
|
|
c94523c8cc | ||
|
|
326767beec | ||
|
|
9987ee4c6f |
@@ -8,12 +8,12 @@ error_on_line_overflow = true
|
|||||||
# Override the default formatting style.
|
# Override the default formatting style.
|
||||||
# See https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repositories/8732/81.
|
# See https://internals.rust-lang.org/t/running-rustfmt-on-rust-lang-rust-and-other-rust-lang-repositories/8732/81.
|
||||||
use_small_heuristics = "Max"
|
use_small_heuristics = "Max"
|
||||||
# See https://github.com/rust-dev-tools/fmt-rfcs/issues/149.
|
# This is the default of 2024 edition https://github.com/rust-lang/rust/pull/114764.
|
||||||
# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3370)
|
# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/3370)
|
||||||
overflow_delimited_expr = true
|
overflow_delimited_expr = true
|
||||||
# This is unstable (tracking issue: none).
|
# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/4991).
|
||||||
imports_granularity = "Crate"
|
imports_granularity = "Crate"
|
||||||
# This is unstable (tracking issue: none).
|
# This is unstable (tracking issue: https://github.com/rust-lang/rustfmt/issues/5083).
|
||||||
group_imports = "StdExternalCrate"
|
group_imports = "StdExternalCrate"
|
||||||
|
|
||||||
# Apply rustfmt to more places.
|
# Apply rustfmt to more places.
|
||||||
|
|||||||
12
CHANGELOG.md
12
CHANGELOG.md
@@ -10,6 +10,14 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.29.2] - 2024-03-20
|
||||||
|
|
||||||
|
- Update `wasmtime@latest` to 19.0.0.
|
||||||
|
|
||||||
|
## [2.29.1] - 2024-03-19
|
||||||
|
|
||||||
|
- Update `cargo-minimal-versions@latest` to 0.1.27.
|
||||||
|
|
||||||
## [2.29.0] - 2024-03-18
|
## [2.29.0] - 2024-03-18
|
||||||
|
|
||||||
- Support `git-cliff`. ([#411](https://github.com/taiki-e/install-action/pull/411), thanks @tranzystorekk)
|
- Support `git-cliff`. ([#411](https://github.com/taiki-e/install-action/pull/411), thanks @tranzystorekk)
|
||||||
@@ -1913,7 +1921,9 @@ Note: This release is considered a breaking change because installing on version
|
|||||||
|
|
||||||
Initial release
|
Initial release
|
||||||
|
|
||||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.29.0...HEAD
|
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.29.2...HEAD
|
||||||
|
[2.29.2]: https://github.com/taiki-e/install-action/compare/v2.29.1...v2.29.2
|
||||||
|
[2.29.1]: https://github.com/taiki-e/install-action/compare/v2.29.0...v2.29.1
|
||||||
[2.29.0]: https://github.com/taiki-e/install-action/compare/v2.28.16...v2.29.0
|
[2.29.0]: https://github.com/taiki-e/install-action/compare/v2.28.16...v2.29.0
|
||||||
[2.28.16]: https://github.com/taiki-e/install-action/compare/v2.28.15...v2.28.16
|
[2.28.16]: https://github.com/taiki-e/install-action/compare/v2.28.15...v2.28.16
|
||||||
[2.28.15]: https://github.com/taiki-e/install-action/compare/v2.28.14...v2.28.15
|
[2.28.15]: https://github.com/taiki-e/install-action/compare/v2.28.14...v2.28.15
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ members = ["tools/codegen"]
|
|||||||
[workspace.lints.rust]
|
[workspace.lints.rust]
|
||||||
improper_ctypes = "warn"
|
improper_ctypes = "warn"
|
||||||
improper_ctypes_definitions = "warn"
|
improper_ctypes_definitions = "warn"
|
||||||
missing_debug_implementations = "warn"
|
|
||||||
non_ascii_idents = "warn"
|
non_ascii_idents = "warn"
|
||||||
rust_2018_idioms = "warn"
|
rust_2018_idioms = "warn"
|
||||||
single_use_lifetimes = "warn"
|
single_use_lifetimes = "warn"
|
||||||
@@ -25,6 +24,7 @@ undocumented_unsafe_blocks = "warn"
|
|||||||
# Suppress buggy or noisy clippy lints
|
# Suppress buggy or noisy clippy lints
|
||||||
bool_assert_comparison = { level = "allow", priority = 1 }
|
bool_assert_comparison = { level = "allow", priority = 1 }
|
||||||
borrow_as_ptr = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/8286
|
borrow_as_ptr = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/8286
|
||||||
|
declare_interior_mutable_const = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7665
|
||||||
doc_markdown = { level = "allow", priority = 1 }
|
doc_markdown = { level = "allow", priority = 1 }
|
||||||
float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725
|
float_cmp = { level = "allow", priority = 1 } # https://github.com/rust-lang/rust-clippy/issues/7725
|
||||||
manual_assert = { level = "allow", priority = 1 }
|
manual_assert = { level = "allow", priority = 1 }
|
||||||
|
|||||||
24
manifests/cargo-minimal-versions.json
generated
24
manifests/cargo-minimal-versions.json
generated
@@ -21,10 +21,30 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "0.1.26"
|
"version": "0.1.27"
|
||||||
},
|
},
|
||||||
"0.1": {
|
"0.1": {
|
||||||
"version": "0.1.26"
|
"version": "0.1.27"
|
||||||
|
},
|
||||||
|
"0.1.27": {
|
||||||
|
"x86_64_linux_musl": {
|
||||||
|
"checksum": "6b51454adffa828cce8279339c50883a4841a196e778f8bc9a82bacf67f445cd"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"checksum": "8796c876ab036b90bbd4d9b2ec7b9a57668cbceb88957040688b6d79dc2629e4"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"checksum": "96d5deb8cc6e89e9fbf26345bc52d342dca87908bf87023e2bf55b233f28402d"
|
||||||
|
},
|
||||||
|
"aarch64_linux_musl": {
|
||||||
|
"checksum": "1727b222908e49e57fd93650d798e6327527dbde831b5a432a9b7283a5746d01"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"checksum": "39b96ff4a6eae73bbb9f7a4a32a933005098046e44db1ede5bbe898037cc5911"
|
||||||
|
},
|
||||||
|
"aarch64_windows": {
|
||||||
|
"checksum": "e6be0e0d5529554a51334df603442f6bc4553d549b70cac5dd7466358589ec61"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"0.1.26": {
|
"0.1.26": {
|
||||||
"x86_64_linux_musl": {
|
"x86_64_linux_musl": {
|
||||||
|
|||||||
35
manifests/wasmtime.json
generated
35
manifests/wasmtime.json
generated
@@ -2,7 +2,40 @@
|
|||||||
"rust_crate": "wasmtime-cli",
|
"rust_crate": "wasmtime-cli",
|
||||||
"template": null,
|
"template": null,
|
||||||
"latest": {
|
"latest": {
|
||||||
"version": "18.0.3"
|
"version": "19.0.0"
|
||||||
|
},
|
||||||
|
"19": {
|
||||||
|
"version": "19.0.0"
|
||||||
|
},
|
||||||
|
"19.0": {
|
||||||
|
"version": "19.0.0"
|
||||||
|
},
|
||||||
|
"19.0.0": {
|
||||||
|
"x86_64_linux_gnu": {
|
||||||
|
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-x86_64-linux.tar.xz",
|
||||||
|
"checksum": "9b22a1847ab493e18771d4a7a992ffd02729a83309b9b8526e87c65d65d262a4",
|
||||||
|
"bin": "wasmtime-v19.0.0-x86_64-linux/wasmtime"
|
||||||
|
},
|
||||||
|
"x86_64_macos": {
|
||||||
|
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-x86_64-macos.tar.xz",
|
||||||
|
"checksum": "a1e21e8a9a0aaee42b05aace5891962d2b0c350d4bb19c7bef001bde63d5b2c5",
|
||||||
|
"bin": "wasmtime-v19.0.0-x86_64-macos/wasmtime"
|
||||||
|
},
|
||||||
|
"x86_64_windows": {
|
||||||
|
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-x86_64-windows.zip",
|
||||||
|
"checksum": "371b23b52b4f4ba8be1524d5ad666c6383c9c30c0365ae66ac404196409731d6",
|
||||||
|
"bin": "wasmtime-v19.0.0-x86_64-windows/wasmtime.exe"
|
||||||
|
},
|
||||||
|
"aarch64_linux_gnu": {
|
||||||
|
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-aarch64-linux.tar.xz",
|
||||||
|
"checksum": "f37c4af2e66177641627b2fcd419eba9f68daa1bc4e2062561af26d6a541f6f9",
|
||||||
|
"bin": "wasmtime-v19.0.0-aarch64-linux/wasmtime"
|
||||||
|
},
|
||||||
|
"aarch64_macos": {
|
||||||
|
"url": "https://github.com/bytecodealliance/wasmtime/releases/download/v19.0.0/wasmtime-v19.0.0-aarch64-macos.tar.xz",
|
||||||
|
"checksum": "bb566cad203eb3dc1942985574223258007a2f5099fdf2971a0a2fc6744c0643",
|
||||||
|
"bin": "wasmtime-v19.0.0-aarch64-macos/wasmtime"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"18": {
|
"18": {
|
||||||
"version": "18.0.3"
|
"version": "18.0.3"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0 OR MIT
|
// SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||||
|
|
||||||
use std::{
|
use std::{
|
||||||
cmp::Reverse,
|
cmp::{self, Reverse},
|
||||||
collections::{BTreeMap, BTreeSet},
|
collections::{BTreeMap, BTreeSet},
|
||||||
env,
|
env,
|
||||||
ffi::OsStr,
|
ffi::OsStr,
|
||||||
@@ -417,6 +417,7 @@ fn main() -> Result<()> {
|
|||||||
.values()
|
.values()
|
||||||
.any(|m| matches!(m, ManifestRef::Real(m) if m.download_info.contains_key(&p)))
|
.any(|m| matches!(m, ManifestRef::Real(m) if m.download_info.contains_key(&p)))
|
||||||
{
|
{
|
||||||
|
// TODO: better error message: https://github.com/taiki-e/install-action/pull/411
|
||||||
bail!(
|
bail!(
|
||||||
"platform list in base manifest for {package} contains {p:?}, \
|
"platform list in base manifest for {package} contains {p:?}, \
|
||||||
but result manifest doesn't contain it; \
|
but result manifest doesn't contain it; \
|
||||||
@@ -603,12 +604,12 @@ impl From<semver::Version> for Version {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl PartialOrd for Version {
|
impl PartialOrd for Version {
|
||||||
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
|
fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
|
||||||
Some(self.cmp(other))
|
Some(self.cmp(other))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl Ord for Version {
|
impl Ord for Version {
|
||||||
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
|
fn cmp(&self, other: &Self) -> cmp::Ordering {
|
||||||
fn convert(v: &Version) -> semver::Version {
|
fn convert(v: &Version) -> semver::Version {
|
||||||
semver::Version {
|
semver::Version {
|
||||||
major: v.major.unwrap_or(u64::MAX),
|
major: v.major.unwrap_or(u64::MAX),
|
||||||
|
|||||||
Reference in New Issue
Block a user