Compare commits

...

18 Commits

Author SHA1 Message Date
Taiki Endo
67aa8bcf8a Release 2.5.2 2023-02-27 13:22:20 +09:00
Taiki Endo
1bb76441d3 Update .clippy.toml 2023-02-27 13:21:44 +09:00
Taiki Endo
8c919c2041 Update cargo-tarpaulin@latest to 0.25.1 2023-02-27 11:32:05 +09:00
Taiki Endo
6dec0fcd4c Release 2.5.1 2023-02-25 19:18:03 +09:00
Taiki Endo
ef14bb365d Update zola@latest to 0.17.1 2023-02-25 12:05:39 +09:00
Taiki Endo
d3afca2ffc Release 2.5.0 2023-02-24 02:39:32 +09:00
Taiki Endo
11d418d698 Update changelog 2023-02-24 02:39:21 +09:00
Taiki Endo
93edea8666 Update shebang for bash scripts
In non-Linux systems such as BSDs, bash is not always in /bin.
2023-02-24 01:44:48 +09:00
Taiki Endo
af5165ce25 Update cargo-llvm-cov@latest to 0.5.10 2023-02-24 01:12:19 +09:00
Taiki Endo
2a60fd3151 Switch to composite action 2023-02-22 22:15:07 +09:00
Taiki Endo
0c4592b32a Release 2.4.4 2023-02-21 11:29:51 +09:00
Taiki Endo
005d3ec234 Update wasmtime@latest to 6.0.0 2023-02-21 11:27:28 +09:00
Taiki Endo
5d8239931a Release 2.4.3 2023-02-17 12:23:34 +09:00
Taiki Endo
43e49c2430 Update zola@latest to 0.17.0 2023-02-17 12:17:13 +09:00
Taiki Endo
70715d2909 Update protoc@latest to 3.22.0 2023-02-17 12:17:13 +09:00
Taiki Endo
396587837c Release 2.4.2 2023-02-14 12:11:39 +09:00
Taiki Endo
dac579fb5b Update mdbook@latest to 0.4.27 2023-02-14 12:07:02 +09:00
Taiki Endo
4dbb2933f9 Update dprint@latest to 0.34.5 2023-02-14 12:07:02 +09:00
16 changed files with 206 additions and 48 deletions

View File

@@ -1 +1,5 @@
# Clippy configuration
# https://doc.rust-lang.org/nightly/clippy/lint_configuration.html
avoid-breaking-exported-api = false
disallowed-names = []

View File

@@ -10,6 +10,36 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased]
## [2.5.2] - 2023-02-27
- Update `cargo-tarpaulin@latest` to 0.25.1.
## [2.5.1] - 2023-02-25
- Update `zola@latest` to 0.17.1.
## [2.5.0] - 2023-02-23
- Update `cargo-llvm-cov@latest` to 0.5.10.
- Switch to composite action. ([#58](https://github.com/taiki-e/install-action/pull/58))
## [2.4.4] - 2023-02-21
- Update `wasmtime@latest` to 6.0.0.
## [2.4.3] - 2023-02-17
- Update `zola@latest` to 0.17.0.
- Update `protoc@latest` to 3.22.0.
## [2.4.2] - 2023-02-14
- Update `mdbook@latest` to 0.4.27.
- Update `dprint@latest` to 0.34.5.
## [2.4.1] - 2023-02-13
- Update `cargo-binstall@latest` to 0.20.1.
@@ -615,7 +645,13 @@ Note: This release is considered a breaking change because installing on version
Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.4.1...HEAD
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.5.2...HEAD
[2.5.2]: https://github.com/taiki-e/install-action/compare/v2.5.1...v2.5.2
[2.5.1]: https://github.com/taiki-e/install-action/compare/v2.5.0...v2.5.1
[2.5.0]: https://github.com/taiki-e/install-action/compare/v2.4.4...v2.5.0
[2.4.4]: https://github.com/taiki-e/install-action/compare/v2.4.3...v2.4.4
[2.4.3]: https://github.com/taiki-e/install-action/compare/v2.4.2...v2.4.3
[2.4.2]: https://github.com/taiki-e/install-action/compare/v2.4.1...v2.4.2
[2.4.1]: https://github.com/taiki-e/install-action/compare/v2.4.0...v2.4.1
[2.4.0]: https://github.com/taiki-e/install-action/compare/v2.3.5...v2.4.0
[2.3.5]: https://github.com/taiki-e/install-action/compare/v2.3.4...v2.3.5

View File

@@ -11,6 +11,14 @@ inputs:
required: false
default: 'true'
# Note:
# - inputs.* should be manually mapped to INPUT_* due to https://github.com/actions/runner/issues/665
# - Use GITHUB_*/RUNNER_* instead of github.*/runner.* due to https://github.com/actions/runner/issues/2185
runs:
using: node16
main: main.js
using: composite
steps:
- run: bash --noprofile --norc "${GITHUB_ACTION_PATH:?}/main.sh"
shell: bash
env:
INPUT_TOOL: ${{ inputs.tool }}
INPUT_CHECKSUM: ${{ inputs.checksum }}

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euxo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

28
main.js
View File

@@ -1,28 +0,0 @@
// This is a script that just calls the bash script that does the main
// processing of the action. It works like a composite action that calls
// a single bash script.
//
// This was originally a trick adopted to make bash script-based actions work
// without docker before composite actions were supported. However, due to
// various problems with composite actions, this trick is still needed:
// - https://github.com/actions/runner/issues/665
// - https://github.com/actions/runner/issues/2185
// Although there are ways to work around these like cache-cargo-install-action does:
// https://github.com/taiki-e/cache-cargo-install-action/blob/v1.0.1/action.yml#L9-L11
const { execFileSync } = require('child_process');
function main() {
try {
execFileSync(
'bash',
['--noprofile', '--norc', `${__dirname}/main.sh`],
{ stdio: 'inherit' }
);
} catch (e) {
console.log(`::error::${e.message}`);
process.exit(1);
}
}
main();

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

View File

@@ -17,10 +17,27 @@
}
},
"latest": {
"version": "0.5.9"
"version": "0.5.10"
},
"0.5": {
"version": "0.5.9"
"version": "0.5.10"
},
"0.5.10": {
"x86_64_linux_musl": {
"checksum": "6ff31ac54aacc133c8d462c99b353dc31924aa9d0bc088ffdd8caa8cc7a14be4"
},
"x86_64_macos": {
"checksum": "a0924478bfd7a62711d8e9186470dfbb2a00ed22dba704bcd98f65dc41fd5ec7"
},
"x86_64_windows": {
"checksum": "3504347f7bdde8fa7c73e938c3cbce5397418799f9125ee3729e7168e387e5c0"
},
"aarch64_linux_musl": {
"checksum": "c395bb8834c779b1bb5a2e0d8302eeec1ef389ee980b47b21f4573181c769786"
},
"aarch64_macos": {
"checksum": "3935ac3f3e4af883f698d5e41dae9b3d248ce0a606b0520b739d5e967d78a10e"
}
},
"0.5.9": {
"x86_64_linux_musl": {

View File

@@ -17,10 +17,27 @@
}
},
"latest": {
"version": "0.25.0"
"version": "0.25.1"
},
"0.25": {
"version": "0.25.0"
"version": "0.25.1"
},
"0.25.1": {
"x86_64_linux_musl": {
"checksum": "3af89e49bb98caf0ce01f87bbe4493dd4219e0e47aa577149fb3d9046b39965a"
},
"x86_64_macos": {
"checksum": "8db642f0bcc15e1ad76794addd4e82911b79c7721dbd01f6113aab6636a36d41"
},
"x86_64_windows": {
"checksum": "a82851fd9bb3520acfd33073b6a01363f80fb8fdcf5bb5334e288894d939d5b4"
},
"aarch64_linux_musl": {
"checksum": "87cd75d72a83009cb042e5a844f265e455ff8525dc77c0806a52a824702ba259"
},
"aarch64_macos": {
"checksum": "cf45f5f58432aaf861a7ea051e01d9f9f08d1548bcab331f3eeea29d0f82f060"
}
},
"0.25.0": {
"x86_64_linux_musl": {

21
manifests/dprint.json generated
View File

@@ -20,10 +20,27 @@
}
},
"latest": {
"version": "0.34.4"
"version": "0.34.5"
},
"0.34": {
"version": "0.34.4"
"version": "0.34.5"
},
"0.34.5": {
"x86_64_linux_musl": {
"checksum": "ad0296a8f4614a57e107df57e4f1f0f25ac32aeebdc201396160b5d046c26f55"
},
"x86_64_macos": {
"checksum": "1b23e31fe318115bfcecc4b8025b8146d2c1e160092629c930feeffd02d7e802"
},
"x86_64_windows": {
"checksum": "c98ecc413a40fd275d3d0aaaa245169926cdab27de17d732a9709dad9491fb3c"
},
"aarch64_linux_gnu": {
"checksum": "21dd3aa277e35184fb6c4ebca899b7c4ddbb2a25035edee75d0c927443d5f7e3"
},
"aarch64_macos": {
"checksum": "42bd63c2436bbcd058d7fb38bb540a4cdc576e109ce90f607103159dc5bbe1bf"
}
},
"0.34.4": {
"x86_64_linux_musl": {

18
manifests/mdbook.json generated
View File

@@ -17,10 +17,24 @@
}
},
"latest": {
"version": "0.4.26"
"version": "0.4.27"
},
"0.4": {
"version": "0.4.26"
"version": "0.4.27"
},
"0.4.27": {
"x86_64_linux_musl": {
"checksum": "44ee34f8a6a1e0788f870c0bfd890dfce112c70f63e7254c5d8f20525600bc7b"
},
"x86_64_macos": {
"checksum": "107461b477c512c9c9deeed051abf9bbb25858867dc2f0f493fc7c2fadfc3532"
},
"x86_64_windows": {
"checksum": "18c7eea09bee53f539a11ec965547147afc2083c4cac22563b724aecf57b57bb"
},
"aarch64_linux_musl": {
"checksum": "4b7a489f1ba35b0b95dfb026b2e46d7e11fb593f2074afb2be10db0f56530dd2"
}
},
"0.4.26": {
"x86_64_linux_musl": {

29
manifests/protoc.json generated
View File

@@ -1,10 +1,35 @@
{
"template": null,
"latest": {
"version": "3.21.12"
"version": "3.22.0"
},
"3": {
"version": "3.21.12"
"version": "3.22.0"
},
"3.22": {
"version": "3.22.0"
},
"3.22.0": {
"x86_64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-x86_64.zip",
"checksum": "9ceff6c3945d521d1d0f42f9f57f6ef7cf3f581a9d303a027ba19b192045d1a2"
},
"x86_64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-osx-x86_64.zip",
"checksum": "1e0ad38fcf20a4b1cdeffe40f9188c4d1c30a9dd515cf92c8b57f629227f0eb3"
},
"x86_64_windows": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-win64.zip",
"checksum": "dd2a24c091f684ce9589fc76f9b5ed55dffdc0e0733bde20112f32b00771dbdb"
},
"aarch64_linux_gnu": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-linux-aarch_64.zip",
"checksum": "af403bd3009132b418b364e9df29cdbecff5f6ab560c392d48e9944f708d7778"
},
"aarch64_macos": {
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.0/protoc-22.0-osx-aarch_64.zip",
"checksum": "834f35b26082ff2dc372df17cae4a4b7cded944756f1c99bac8c624214b542cc"
}
},
"3.21": {
"version": "3.21.12"

View File

@@ -22,7 +22,30 @@
}
},
"latest": {
"version": "5.0.0"
"version": "6.0.0"
},
"6": {
"version": "6.0.0"
},
"6.0": {
"version": "6.0.0"
},
"6.0.0": {
"x86_64_linux_gnu": {
"checksum": "19090d9f0b6320d69908c3a9d3915c1b8149555d971061eda462edc0e212e0d3"
},
"x86_64_macos": {
"checksum": "c5a817ed5b3e31301a74011459a8a4b887265fcaf32106f7455d1be44419b305"
},
"x86_64_windows": {
"checksum": "43ca5c47c396fbf1edbf6de06841be0be296b11d17e5753cb1266bd3c5653f28"
},
"aarch64_linux_gnu": {
"checksum": "465156922e11e423730f2884d3c5ecf781a27098d58c7b6b4388d739d30bb7f3"
},
"aarch64_macos": {
"checksum": "f6c128aaea4aa7a1bb74d1d3eb00a82ea083208419345176af22afb9634ec7ae"
}
},
"5": {
"version": "5.0.0"

27
manifests/zola.json generated
View File

@@ -11,7 +11,32 @@
}
},
"latest": {
"version": "0.16.1"
"version": "0.17.1"
},
"0.17": {
"version": "0.17.1"
},
"0.17.1": {
"x86_64_linux_gnu": {
"checksum": "f1ddbe0c1b0672da6eeb959eeb3f311b915ecc18719963934bcbc0c62783b711"
},
"x86_64_macos": {
"checksum": "96eb9ce229bdfb34cdcc05f540c965e0ad4104a253729bb6e3d2b7b3a57044a7"
},
"x86_64_windows": {
"checksum": "be0ea09c178a01bc04c1444349676a59b31c7a97930a5461fc170b3947ea4553"
}
},
"0.17.0": {
"x86_64_linux_gnu": {
"checksum": "41f8a78b85d4a138581dff468fa5a01378c7f7afeaf2d81524c45a9fba8988ad"
},
"x86_64_macos": {
"checksum": "41d69c8995f6a77acc3d0a0389de06f42000e8362264f6bd2c8ac12a7124827b"
},
"x86_64_windows": {
"checksum": "6e92a4186e2a5ddd61bc388c2d28558060e352d39e7ddb0985463e14728523da"
}
},
"0.16": {
"version": "0.16.1"

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
cd "$(dirname "$0")"/..

View File

@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/env bash
# shellcheck disable=SC2046
set -euo pipefail
IFS=$'\n\t'