mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-01 11:00:26 +00:00
Compare commits
7 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e67dedb5e | ||
|
|
b0cd8d3751 | ||
|
|
7b52b108a0 | ||
|
|
292e521d7c | ||
|
|
c9244c19ac | ||
|
|
672b40bb62 | ||
|
|
783ca381c0 |
11
CHANGELOG.md
11
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]
|
||||
|
||||
## [2.67.27] - 2026-02-09
|
||||
|
||||
- Update `sccache@latest` to 0.14.0.
|
||||
|
||||
- Update `typos@latest` to 1.43.4.
|
||||
|
||||
- Update `mise@latest` to 2026.2.8.
|
||||
|
||||
## [2.67.26] - 2026-02-09
|
||||
|
||||
- Update `tombi@latest` to 0.7.28.
|
||||
@@ -5607,7 +5615,8 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.67.26...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.67.27...HEAD
|
||||
[2.67.27]: https://github.com/taiki-e/install-action/compare/v2.67.26...v2.67.27
|
||||
[2.67.26]: https://github.com/taiki-e/install-action/compare/v2.67.25...v2.67.26
|
||||
[2.67.25]: https://github.com/taiki-e/install-action/compare/v2.67.24...v2.67.25
|
||||
[2.67.24]: https://github.com/taiki-e/install-action/compare/v2.67.23...v2.67.24
|
||||
|
||||
32
manifests/mise.json
generated
32
manifests/mise.json
generated
@@ -28,13 +28,39 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/jdx/mise/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "2026.2.7"
|
||||
"version": "2026.2.8"
|
||||
},
|
||||
"2026": {
|
||||
"version": "2026.2.7"
|
||||
"version": "2026.2.8"
|
||||
},
|
||||
"2026.2": {
|
||||
"version": "2026.2.7"
|
||||
"version": "2026.2.8"
|
||||
},
|
||||
"2026.2.8": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE67CCEBAB42CD",
|
||||
"checksum": "b98f0e59347cfc5e39f2e4e643069dcc775c8b161850b89d02c884c7768e67df"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE67CCED89F601",
|
||||
"checksum": "01fcb2600aff54f09ed009cc1c345b05379bd0b0424296973d32974788192dd7"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE67CCEE5FDD4B",
|
||||
"checksum": "a6e7201f66b41ee668861538a7e48cd8021fde406dd83396c494b7277d943577"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE67CCE893C200",
|
||||
"checksum": "c76a3016bb5133fa6115fa9ad3994746d0ff7e8151b0ed9a3270838680fbecc2"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE67CCECC4025E",
|
||||
"checksum": "135b686641f4220224660492f0a8dd71de6ca8e0573e4c5f75c71be8127492f2"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE67CCEE106905",
|
||||
"checksum": "d312d15a0ce02651a52fb0f8191772b1663718257fdedec37fc65acfbb1bded4"
|
||||
}
|
||||
},
|
||||
"2026.2.7": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
31
manifests/sccache.json
generated
31
manifests/sccache.json
generated
@@ -28,7 +28,36 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/mozilla/sccache/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "0.13.0"
|
||||
"version": "0.14.0"
|
||||
},
|
||||
"0.14": {
|
||||
"version": "0.14.0"
|
||||
},
|
||||
"0.14.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE67ED6CAA0762",
|
||||
"checksum": "8424b38cda4ecce616a1557d81328f3d7c96503a171eab79942fad618b42af44"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE67ED6AD92778",
|
||||
"checksum": "f86c5ecf9b9a1aee53022601725c5cea0e1d9318d80a8233017101063936ab62"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE67ED6BB8C7B5",
|
||||
"checksum": "22c5030437639b15b138e9cd082db8eedf9d8b1a0de05b6072b53f819ea9d299"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE67ED656BD8EE",
|
||||
"checksum": "62a6c942c47c93333bc0174704800cef7edfa0416d08e1356c1d3e39f0b462f2"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE67ED6393873A",
|
||||
"checksum": "a781e8018260ab128e7690d8497736fa231b6ca895d57131d5b5b966ca987594"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DE67ED6470B953",
|
||||
"checksum": "b416e81f946c607467c5383022842649569d73f468a8e42b4536998e3d784224"
|
||||
}
|
||||
},
|
||||
"0.13": {
|
||||
"version": "0.13.0"
|
||||
|
||||
28
manifests/typos.json
generated
28
manifests/typos.json
generated
@@ -22,13 +22,35 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/crate-ci/typos/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/crate-ci/typos/blob/master/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "1.43.3"
|
||||
"version": "1.43.4"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.43.3"
|
||||
"version": "1.43.4"
|
||||
},
|
||||
"1.43": {
|
||||
"version": "1.43.3"
|
||||
"version": "1.43.4"
|
||||
},
|
||||
"1.43.4": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DE67E6F87AEE49",
|
||||
"checksum": "f05f9da84ba714789271a2915060f8b7d329411b5c11e83b8d2c367ef592036c"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DE67E72B2003AB",
|
||||
"checksum": "24e104185f1522d1906f7e8299e43e39faefe527dbe73b163cfaadad8012a113"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DE67E74CEF9B0A",
|
||||
"checksum": "6f1e5688724d347bfbb6419cc76c364b54a97afef75cdbcf02cc838852dbb6cd"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DE67E6EF474661",
|
||||
"checksum": "7eeb93b5dbd4590ef60f6a09ab94e0dae70d2f333c0447284f1cad0379786f5b"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DE67E73DF4DD13",
|
||||
"checksum": "bd5b1e04de8710813464cc510fd33a2e4a797320901d23f49042e1d1863ef023"
|
||||
}
|
||||
},
|
||||
"1.43.3": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
@@ -4,12 +4,15 @@
|
||||
Structured access to the install-action manifests.
|
||||
*/
|
||||
|
||||
#![no_std]
|
||||
#![doc(test(
|
||||
no_crate_inject,
|
||||
attr(
|
||||
deny(warnings, rust_2018_idioms, single_use_lifetimes),
|
||||
allow(dead_code, unused_variables)
|
||||
)
|
||||
attr(allow(
|
||||
dead_code,
|
||||
unused_variables,
|
||||
clippy::undocumented_unsafe_blocks,
|
||||
clippy::unused_trait_names,
|
||||
))
|
||||
))]
|
||||
#![warn(
|
||||
// Lints that may help when writing public library.
|
||||
@@ -26,8 +29,13 @@ Structured access to the install-action manifests.
|
||||
#![allow(clippy::missing_panics_doc, clippy::too_long_first_doc_paragraph)]
|
||||
|
||||
extern crate alloc;
|
||||
extern crate std;
|
||||
|
||||
use alloc::collections::BTreeMap;
|
||||
use alloc::{
|
||||
collections::BTreeMap,
|
||||
string::{String, ToString as _},
|
||||
vec::Vec,
|
||||
};
|
||||
use core::{
|
||||
cmp::{self, Reverse},
|
||||
fmt, slice,
|
||||
|
||||
@@ -894,10 +894,19 @@ EOF
|
||||
for job in $(jq -c '.jobs | to_entries[] | select(.value.steps)' <<<"${workflow}"); do
|
||||
name=$(jq -r '.key' <<<"${job}")
|
||||
job=$(jq -r '.value' <<<"${job}")
|
||||
eval "$(jq -r '@sh "RUNS_ON=\(."runs-on") TIMEOUT_MINUTES=\(."timeout-minutes") JOB_DEFAULT_SHELL=\(.defaults.run.shell)"' <<<"${job}")"
|
||||
if [[ "${TIMEOUT_MINUTES}" == 'null' ]]; then
|
||||
error ".jobs.${name}.timeout-minutes must be set"
|
||||
fi
|
||||
if [[ "${RUNS_ON}" == 'ubuntu-slim' ]]; then
|
||||
case "${TIMEOUT_MINUTES}" in
|
||||
? | 1[0-5]) ;;
|
||||
*) error ".jobs.${name}.timeout-minutes must be <= 15 because max execution time of ubuntu-slim runner is 15 minutes" ;;
|
||||
esac
|
||||
fi
|
||||
n=0
|
||||
job_default_shell=$(jq -r '.defaults.run.shell' <<<"${job}")
|
||||
if [[ "${job_default_shell}" == 'null' ]]; then
|
||||
job_default_shell="${default_shell}"
|
||||
if [[ "${JOB_DEFAULT_SHELL}" == 'null' ]]; then
|
||||
JOB_DEFAULT_SHELL="${default_shell}"
|
||||
fi
|
||||
for step in $(jq -c '.steps[]' <<<"${job}"); do
|
||||
prepare=''
|
||||
@@ -908,7 +917,7 @@ EOF
|
||||
fi
|
||||
if [[ "${shell}" == 'null' ]]; then
|
||||
if [[ -z "${prepare}" ]]; then
|
||||
shell="${job_default_shell}"
|
||||
shell="${JOB_DEFAULT_SHELL}"
|
||||
elif grep -Eq '^ *chsh +-s +[^ ]+/bash' <<<"${prepare}"; then
|
||||
shell='bash'
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user