mirror of
https://github.com/taiki-e/install-action.git
synced 2026-05-03 03:30:36 +00:00
Compare commits
11 Commits
v2.75.28
...
releases/p
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64041ace93 | ||
|
|
b5fddbb536 | ||
|
|
5dab223281 | ||
|
|
5bdd194353 | ||
|
|
ef16a20345 | ||
|
|
e565ba433e | ||
|
|
9d6a9dded6 | ||
|
|
bdddcdcc79 | ||
|
|
9c6db3bb61 | ||
|
|
71d23d4987 | ||
|
|
9bbb5bc118 |
2
.github/dependabot.yml
vendored
2
.github/dependabot.yml
vendored
@@ -15,7 +15,7 @@ updates:
|
||||
- package-ecosystem: github-actions
|
||||
directory: /
|
||||
schedule:
|
||||
interval: weekly
|
||||
interval: monthly
|
||||
cooldown:
|
||||
default-days: 14
|
||||
commit-message:
|
||||
|
||||
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -1,7 +1,6 @@
|
||||
name: CI
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -33,20 +32,20 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
miri:
|
||||
uses: taiki-e/github-actions/.github/workflows/miri.yml@3c1cac16ef654d1febb66f21f328fa167f0d2fef # main
|
||||
uses: taiki-e/github-actions/.github/workflows/miri.yml@5f549ff6b21e9a853f5f613784d5db27746fd2bc # main
|
||||
with:
|
||||
# NB: sync with test job's --exclude option
|
||||
args: --exclude install-action-internal-codegen
|
||||
msrv:
|
||||
uses: taiki-e/github-actions/.github/workflows/msrv.yml@3c1cac16ef654d1febb66f21f328fa167f0d2fef # main
|
||||
uses: taiki-e/github-actions/.github/workflows/msrv.yml@5f549ff6b21e9a853f5f613784d5db27746fd2bc # main
|
||||
test-manifest-schema:
|
||||
uses: taiki-e/github-actions/.github/workflows/test.yml@3c1cac16ef654d1febb66f21f328fa167f0d2fef # main
|
||||
uses: taiki-e/github-actions/.github/workflows/test.yml@5f549ff6b21e9a853f5f613784d5db27746fd2bc # main
|
||||
with:
|
||||
# NB: sync with miri job's --exclude option
|
||||
test-args: --exclude install-action-internal-codegen
|
||||
no-std: false
|
||||
tidy:
|
||||
uses: taiki-e/github-actions/.github/workflows/tidy.yml@3c1cac16ef654d1febb66f21f328fa167f0d2fef # main
|
||||
uses: taiki-e/github-actions/.github/workflows/tidy.yml@5f549ff6b21e9a853f5f613784d5db27746fd2bc # main
|
||||
permissions:
|
||||
contents: write # for creating branch for pr
|
||||
pull-requests: write # unused (used in `codegen-automerge: true` case)
|
||||
@@ -151,7 +150,7 @@ jobs:
|
||||
if: matrix.bash != 'cygwin' && matrix.os != 'windows-11-arm'
|
||||
|
||||
test-alias:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
@@ -255,7 +254,7 @@ jobs:
|
||||
- alpine:3.22 # musl 1.2.5
|
||||
- alpine:3.23 # musl 1.2.5
|
||||
# - openwrt/rootfs:x86-64-openwrt-24.10 # musl 1.2.5
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
container: ${{ matrix.container }}
|
||||
steps:
|
||||
|
||||
5
.github/workflows/manifest.yml
vendored
5
.github/workflows/manifest.yml
vendored
@@ -1,7 +1,6 @@
|
||||
name: Manifest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
@@ -33,7 +32,7 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
manifest:
|
||||
uses: taiki-e/github-actions/.github/workflows/gen.yml@3c1cac16ef654d1febb66f21f328fa167f0d2fef # main
|
||||
uses: taiki-e/github-actions/.github/workflows/gen.yml@5f549ff6b21e9a853f5f613784d5db27746fd2bc # main
|
||||
permissions:
|
||||
contents: write # for creating branch for pr
|
||||
pull-requests: write # for gh pr review --approve
|
||||
|
||||
39
.github/workflows/release.yml
vendored
39
.github/workflows/release.yml
vendored
@@ -2,8 +2,7 @@ name: Release
|
||||
|
||||
# Adapted from https://github.com/taiki-e/github-actions/blob/HEAD/.github/workflows/action-release.yml.
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: {}
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@@ -26,7 +25,7 @@ on:
|
||||
|
||||
defaults:
|
||||
run:
|
||||
shell: bash --noprofile --norc -CeEuxo pipefail {0}
|
||||
shell: bash --noprofile --norc -CeEuo pipefail {0}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}
|
||||
@@ -35,17 +34,16 @@ concurrency:
|
||||
jobs:
|
||||
prepare:
|
||||
if: github.repository_owner == 'taiki-e' && inputs.target == 'install-action'
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
- uses: taiki-e/install-action@b8be7f5e140177087325943c4a8e169d01c59b3d # v2.75.3
|
||||
- uses: taiki-e/install-action@58e862542551f667fa44c8a2a4a1d64ad477c96a # v2.75.17
|
||||
with:
|
||||
tool: parse-changelog
|
||||
fallback: none
|
||||
- id: check
|
||||
run: |
|
||||
set +x
|
||||
IFS=$'\n\t'
|
||||
trap -- 's=$?; printf >&2 "%s\n" "${0##*/}:${LINENO}: \`${BASH_COMMAND}\` exit with ${s}"; exit ${s}' ERR
|
||||
retry() {
|
||||
@@ -70,23 +68,23 @@ jobs:
|
||||
|
||||
# shellcheck disable=SC2153
|
||||
version="${VERSION}"
|
||||
printf '%s\n' "version(input): ${version}"
|
||||
printf 'version(input): %s\n' "${version}"
|
||||
# shellcheck disable=SC2153
|
||||
tag_prefix="${TAG_PREFIX}"
|
||||
printf '%s\n' "tag_prefix: ${tag_prefix}"
|
||||
printf 'tag_prefix: %s\n' "${tag_prefix}"
|
||||
# shellcheck disable=SC2153
|
||||
changelog="${CHANGELOG}"
|
||||
printf '%s\n' "changelog: ${changelog}"
|
||||
printf 'changelog: %s\n' "${changelog}"
|
||||
|
||||
# Get the current date.
|
||||
release_date=$(date -u '+%Y-%m-%d')
|
||||
printf '%s\n' "release-date: ${release_date}"
|
||||
printf '%s\n' "release-date=${release_date}" >>"${GITHUB_OUTPUT}"
|
||||
printf 'release-date: %s\n' "${release_date}"
|
||||
printf 'release-date=%s\n' "${release_date}" >>"${GITHUB_OUTPUT}"
|
||||
|
||||
# Get the current revision.
|
||||
rev=$(git rev-parse HEAD)
|
||||
printf '%s\n' "rev: ${rev}"
|
||||
printf '%s\n' "rev=${rev}" >>"${GITHUB_OUTPUT}"
|
||||
printf 'rev: %s\n' "${rev}"
|
||||
printf 'rev=%s\n' "${rev}" >>"${GITHUB_OUTPUT}"
|
||||
|
||||
prev_version=$(parse-changelog --title-no-link "${changelog}" | cut -d' ' -f1)
|
||||
|
||||
@@ -111,11 +109,11 @@ jobs:
|
||||
if [[ ! "${version}" =~ ^[0-9]+\.[0-9]+\.[0-9]+(-[0-9A-Za-z\.-]+)?(\+[0-9A-Za-z\.-]+)?$ ]]; then
|
||||
bail "invalid version format '${version}'"
|
||||
fi
|
||||
printf '%s\n' "version: ${version}"
|
||||
printf '%s\n' "version=${version}" >>"${GITHUB_OUTPUT}"
|
||||
printf 'version: %s\n' "${version}"
|
||||
printf 'version=%s\n' "${version}" >>"${GITHUB_OUTPUT}"
|
||||
tag="${tag_prefix}${version}"
|
||||
printf '%s\n' "tag: ${tag}"
|
||||
printf '%s\n' "tag=${tag}" >>"${GITHUB_OUTPUT}"
|
||||
printf 'tag: %s\n' "${tag}"
|
||||
printf 'tag=%s\n' "${tag}" >>"${GITHUB_OUTPUT}"
|
||||
|
||||
# Make sure the same release has not been created in the past.
|
||||
if gh release view "${tag}" &>/dev/null; then
|
||||
@@ -199,7 +197,7 @@ jobs:
|
||||
release:
|
||||
if: github.repository_owner == 'taiki-e' && inputs.target == 'install-action'
|
||||
needs: prepare
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-24.04
|
||||
timeout-minutes: 60
|
||||
environment:
|
||||
name: release
|
||||
@@ -208,7 +206,7 @@ jobs:
|
||||
contents: write # for taiki-e/create-gh-release-action
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2
|
||||
- uses: taiki-e/install-action@b8be7f5e140177087325943c4a8e169d01c59b3d # v2.75.3
|
||||
- uses: taiki-e/install-action@58e862542551f667fa44c8a2a4a1d64ad477c96a # v2.75.17
|
||||
with:
|
||||
tool: parse-changelog
|
||||
fallback: none
|
||||
@@ -220,7 +218,6 @@ jobs:
|
||||
- name: Create and push release commit and tag
|
||||
id: push
|
||||
run: |
|
||||
set +x
|
||||
IFS=$'\n\t'
|
||||
trap -- 's=$?; printf >&2 "%s\n" "${0##*/}:${LINENO}: \`${BASH_COMMAND}\` exit with ${s}"; exit ${s}' ERR
|
||||
retry() {
|
||||
@@ -436,7 +433,7 @@ jobs:
|
||||
|
||||
release-manifest-schema:
|
||||
if: github.repository_owner == 'taiki-e' && inputs.target == 'install-action-manifest-schema'
|
||||
uses: taiki-e/github-actions/.github/workflows/rust-release.yml@3c1cac16ef654d1febb66f21f328fa167f0d2fef # main
|
||||
uses: taiki-e/github-actions/.github/workflows/rust-release.yml@5f549ff6b21e9a853f5f613784d5db27746fd2bc # main
|
||||
permissions:
|
||||
contents: write # for taiki-e/create-gh-release-action
|
||||
id-token: write # for rust-lang/crates-io-auth-action
|
||||
|
||||
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.75.29] - 2026-05-02
|
||||
|
||||
- Update `syft@latest` to 1.44.0.
|
||||
|
||||
- Update `rclone@latest` to 1.74.0.
|
||||
|
||||
- Update `osv-scanner@latest` to 2.3.6.
|
||||
|
||||
## [2.75.28] - 2026-05-01
|
||||
|
||||
- Update `wasmtime@latest` to 44.0.1.
|
||||
@@ -6407,7 +6415,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.75.28...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.75.29...HEAD
|
||||
[2.75.29]: https://github.com/taiki-e/install-action/compare/v2.75.28...v2.75.29
|
||||
[2.75.28]: https://github.com/taiki-e/install-action/compare/v2.75.27...v2.75.28
|
||||
[2.75.27]: https://github.com/taiki-e/install-action/compare/v2.75.26...v2.75.27
|
||||
[2.75.26]: https://github.com/taiki-e/install-action/compare/v2.75.25...v2.75.26
|
||||
|
||||
@@ -4,8 +4,8 @@ description: GitHub Action for installing development tools
|
||||
inputs:
|
||||
tool:
|
||||
description: Tools to install (whitespace or comma separated list)
|
||||
required: true
|
||||
# default: #publish:tool
|
||||
required: false
|
||||
default: parse-changelog
|
||||
checksum:
|
||||
description: Whether to enable checksums (strongly discouraged to disable)
|
||||
required: false
|
||||
|
||||
6
manifests/cargo-deb.json
generated
6
manifests/cargo-deb.json
generated
@@ -12,6 +12,12 @@
|
||||
"3": {
|
||||
"version": "3.6.4"
|
||||
},
|
||||
"3.7.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DEA87CE0C3370E",
|
||||
"hash": "e61273031c84b6ef2ca3fb259b594d34d2b592e1c6bc378c1249380c53e5b05e"
|
||||
}
|
||||
},
|
||||
"3.6": {
|
||||
"version": "3.6.4"
|
||||
},
|
||||
|
||||
6
manifests/cargo-spellcheck.json
generated
6
manifests/cargo-spellcheck.json
generated
@@ -14,6 +14,12 @@
|
||||
"0.15": {
|
||||
"version": "0.15.1"
|
||||
},
|
||||
"0.15.7": {
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DEA7C00640F8EA",
|
||||
"hash": "6c944067adde19558aff6b6eb0003e82a95a52ac9dd75465ba3df894eeac5b74"
|
||||
}
|
||||
},
|
||||
"0.15.2": {
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DD4A85530EF13A",
|
||||
|
||||
6
manifests/osv-scanner.json
generated
6
manifests/osv-scanner.json
generated
@@ -2,13 +2,13 @@
|
||||
"rust_crate": null,
|
||||
"template": null,
|
||||
"latest": {
|
||||
"version": "2.3.5"
|
||||
"version": "2.3.6"
|
||||
},
|
||||
"2": {
|
||||
"version": "2.3.5"
|
||||
"version": "2.3.6"
|
||||
},
|
||||
"2.3": {
|
||||
"version": "2.3.5"
|
||||
"version": "2.3.6"
|
||||
},
|
||||
"2.3.6": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
7
manifests/rclone.json
generated
7
manifests/rclone.json
generated
@@ -27,10 +27,13 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "1.73.5"
|
||||
"version": "1.74.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.73.5"
|
||||
"version": "1.74.0"
|
||||
},
|
||||
"1.74": {
|
||||
"version": "1.74.0"
|
||||
},
|
||||
"1.74.0": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
7
manifests/syft.json
generated
7
manifests/syft.json
generated
@@ -35,10 +35,13 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "1.43.0"
|
||||
"version": "1.44.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.43.0"
|
||||
"version": "1.44.0"
|
||||
},
|
||||
"1.44": {
|
||||
"version": "1.44.0"
|
||||
},
|
||||
"1.44.0": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
36
manifests/tombi.json
generated
36
manifests/tombi.json
generated
@@ -7,6 +7,42 @@
|
||||
"0.10": {
|
||||
"version": "0.10.1"
|
||||
},
|
||||
"0.10.2": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/tombi-toml/tombi/releases/download/v0.10.2/tombi-cli-0.10.2-x86_64-unknown-linux-musl.tar.gz",
|
||||
"etag": "0x8DEA86927EBA7E7",
|
||||
"hash": "c4268eaaea8a7eb23c8578b5d8976b2490e748670a3725db4f5e4352f9d3076c",
|
||||
"bin": "tombi-cli-0.10.2-x86_64-unknown-linux-musl/tombi"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/tombi-toml/tombi/releases/download/v0.10.2/tombi-cli-0.10.2-x86_64-apple-darwin.tar.gz",
|
||||
"etag": "0x8DEA86927DE9741",
|
||||
"hash": "b3ed94dc4396f565728a7ccb08de466de13607b3f4e73741ab5a3d13571e46f7",
|
||||
"bin": "tombi-cli-0.10.2-x86_64-apple-darwin/tombi"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/tombi-toml/tombi/releases/download/v0.10.2/tombi-cli-0.10.2-x86_64-pc-windows-msvc.zip",
|
||||
"etag": "0x8DEA86927F5AEC2",
|
||||
"hash": "8ecfb32d7fe90612a626a25500fa92a9b4e42dbad6a00f202849901a058dd6a7"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"url": "https://github.com/tombi-toml/tombi/releases/download/v0.10.2/tombi-cli-0.10.2-aarch64-unknown-linux-musl.tar.gz",
|
||||
"etag": "0x8DEA869285CD610",
|
||||
"hash": "9cb16ec45802bc84cb76bb955facb4f1c5de9bd36f349075765ed12d180ceccf",
|
||||
"bin": "tombi-cli-0.10.2-aarch64-unknown-linux-musl/tombi"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/tombi-toml/tombi/releases/download/v0.10.2/tombi-cli-0.10.2-aarch64-apple-darwin.tar.gz",
|
||||
"etag": "0x8DEA86927DA2F62",
|
||||
"hash": "e456b5518923f1c3b3b136aa92c57aa9ffc6f27d8ce155af337509d3f5a3a619",
|
||||
"bin": "tombi-cli-0.10.2-aarch64-apple-darwin/tombi"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"url": "https://github.com/tombi-toml/tombi/releases/download/v0.10.2/tombi-cli-0.10.2-aarch64-pc-windows-msvc.zip",
|
||||
"etag": "0x8DEA86927F2095A",
|
||||
"hash": "532d25f214564bf685b2bfbd21cf2202c70ff4d8c66b0e449ca669bcffd9eba2"
|
||||
}
|
||||
},
|
||||
"0.10.1": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/tombi-toml/tombi/releases/download/v0.10.1/tombi-cli-0.10.1-x86_64-unknown-linux-musl.tar.gz",
|
||||
|
||||
@@ -191,12 +191,11 @@ fi
|
||||
# Not manifest-based
|
||||
case "${host_os}" in
|
||||
linux*)
|
||||
# TODO: disable valgrind due to Canonical's incident.
|
||||
# Installing snap to container is difficult...
|
||||
# Specifying the version of valgrind is not supported.
|
||||
# if type -P snap >/dev/null && [[ "${version}" == "latest" ]]; then
|
||||
# tools+=(valgrind)
|
||||
# fi
|
||||
if type -P snap >/dev/null && [[ "${version}" == "latest" ]]; then
|
||||
tools+=(valgrind)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
# cargo-watch/watchexec-cli is supported by cargo-binstall (through quickinstall)
|
||||
|
||||
@@ -27,7 +27,7 @@ fi
|
||||
if [[ -n "${TIDY_DEV:-}" ]]; then
|
||||
image="ghcr.io/taiki-e/tidy:latest"
|
||||
else
|
||||
image="ghcr.io/taiki-e/tidy@sha256:71def761a5585e83a2672c4051aee13cd886ad5571215aee52f193454bb3cdff"
|
||||
image="ghcr.io/taiki-e/tidy@sha256:c78ba09aa420feddc57ca76fca38b1d4c998a0ede37f76378f12df15a826cf59"
|
||||
fi
|
||||
user="$(id -u):$(id -g)"
|
||||
workdir=$(pwd)
|
||||
|
||||
Reference in New Issue
Block a user