mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-26 17:10:48 +00:00
Compare commits
35 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7f737c1056 | ||
|
|
44a62c1085 | ||
|
|
66b16da49c | ||
|
|
c995477ff1 | ||
|
|
abb8763b52 | ||
|
|
e1d57be4e5 | ||
|
|
8abecff737 | ||
|
|
0b99f81025 | ||
|
|
1f2c038e5d | ||
|
|
8efaa9bb37 | ||
|
|
ea794731ca | ||
|
|
14b956ff16 | ||
|
|
22a2601a6f | ||
|
|
d999ed5c70 | ||
|
|
91ca22ecbd | ||
|
|
c30f951232 | ||
|
|
ada21a86dc | ||
|
|
bb8c47a10f | ||
|
|
d79dff4773 | ||
|
|
fc6ea98761 | ||
|
|
3722252eee | ||
|
|
c4b9b42ecf | ||
|
|
1a61674fad | ||
|
|
ce16e6c89f | ||
|
|
f01eb80f09 | ||
|
|
0bd200fab9 | ||
|
|
4db1686ed8 | ||
|
|
4e009aed37 | ||
|
|
3451569d98 | ||
|
|
9548164ff9 | ||
|
|
6a77367a62 | ||
|
|
81c3f5144a | ||
|
|
815fc6063d | ||
|
|
d852c47bbb | ||
|
|
4eeb7ca4c4 |
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@@ -132,18 +132,17 @@ jobs:
|
||||
- debian:10-slim # glibc 2.28
|
||||
- debian:11-slim # glibc 2.31
|
||||
- debian:12-slim # glibc 2.36
|
||||
- fedora:latest # glibc 2.38 (as of fedora 39)
|
||||
- fedora:latest # glibc 2.39 (as of fedora 40)
|
||||
- almalinux:8 # glibc 2.28
|
||||
- almalinux:8-minimal # glibc 2.28
|
||||
- almalinux:9 # glibc 2.34
|
||||
- almalinux:9-minimal # glibc 2.34
|
||||
- centos:6 # glibc 2.12
|
||||
- centos:7 # glibc 2.17
|
||||
# TODO: broken: Repository 'Update repository of openSUSE Backports' is invalid.
|
||||
# - opensuse/leap:latest # glibc 2.31 (as of leap 15.5)
|
||||
# - opensuse/tumbleweed:latest # glibc 2.39 (as of 2024-04-18)
|
||||
- archlinux:latest # glibc 2.38 (as of 2024-04-18)
|
||||
- alpine:latest # musl 1.2.4 (as of alpine 3.19)
|
||||
- opensuse/leap:latest # glibc 2.38 (as of leap 15.6)
|
||||
- opensuse/tumbleweed:latest # glibc 2.39 (as of 2024-07-19)
|
||||
- archlinux:latest # glibc 2.39 (as of 2024-07-19)
|
||||
- alpine:latest # musl 1.2.5 (as of alpine 3.20)
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 60
|
||||
container: ${{ matrix.container }}
|
||||
|
||||
70
CHANGELOG.md
70
CHANGELOG.md
@@ -10,6 +10,62 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.42.23] - 2024-08-12
|
||||
|
||||
- Update `wasmtime@latest` to 23.0.2.
|
||||
|
||||
## [2.42.22] - 2024-08-10
|
||||
|
||||
- Update `cargo-careful@latest` to 0.4.3.
|
||||
|
||||
## [2.42.21] - 2024-08-10
|
||||
|
||||
- Update `cargo-binstall@latest` to 1.10.0.
|
||||
|
||||
- Update `syft@latest` to 1.11.0.
|
||||
|
||||
## [2.42.20] - 2024-08-08
|
||||
|
||||
- Update `cargo-hack@latest` to 0.6.31.
|
||||
|
||||
## [2.42.19] - 2024-08-07
|
||||
|
||||
- Update `osv-scanner@latest` to 1.8.3.
|
||||
|
||||
## [2.42.18] - 2024-08-05
|
||||
|
||||
- Update `cargo-tarpaulin@latest` to 0.31.1.
|
||||
|
||||
- Update `cargo-deny@latest` to 0.16.1.
|
||||
|
||||
## [2.42.17] - 2024-08-04
|
||||
|
||||
- Update `knope@latest` to 0.17.0.
|
||||
|
||||
- Update `cargo-binstall@latest` to 1.9.0.
|
||||
|
||||
## [2.42.16] - 2024-08-02
|
||||
|
||||
- Update `just@latest` to 1.34.0.
|
||||
|
||||
## [2.42.15] - 2024-08-02
|
||||
|
||||
- Update `cargo-deny@latest` to 0.16.0.
|
||||
|
||||
## [2.42.14] - 2024-07-31
|
||||
|
||||
- Update `typos@latest` to 1.23.6.
|
||||
|
||||
- Update `protoc@latest` to 3.27.3.
|
||||
|
||||
## [2.42.13] - 2024-07-31
|
||||
|
||||
- Update `just@latest` to 1.33.0.
|
||||
|
||||
## [2.42.12] - 2024-07-31
|
||||
|
||||
- Update `syft@latest` to 1.10.0.
|
||||
|
||||
## [2.42.11] - 2024-07-30
|
||||
|
||||
- Update `jaq@latest` to 1.6.0.
|
||||
@@ -2538,7 +2594,19 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.42.11...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.42.23...HEAD
|
||||
[2.42.23]: https://github.com/taiki-e/install-action/compare/v2.42.22...v2.42.23
|
||||
[2.42.22]: https://github.com/taiki-e/install-action/compare/v2.42.21...v2.42.22
|
||||
[2.42.21]: https://github.com/taiki-e/install-action/compare/v2.42.20...v2.42.21
|
||||
[2.42.20]: https://github.com/taiki-e/install-action/compare/v2.42.19...v2.42.20
|
||||
[2.42.19]: https://github.com/taiki-e/install-action/compare/v2.42.18...v2.42.19
|
||||
[2.42.18]: https://github.com/taiki-e/install-action/compare/v2.42.17...v2.42.18
|
||||
[2.42.17]: https://github.com/taiki-e/install-action/compare/v2.42.16...v2.42.17
|
||||
[2.42.16]: https://github.com/taiki-e/install-action/compare/v2.42.15...v2.42.16
|
||||
[2.42.15]: https://github.com/taiki-e/install-action/compare/v2.42.14...v2.42.15
|
||||
[2.42.14]: https://github.com/taiki-e/install-action/compare/v2.42.13...v2.42.14
|
||||
[2.42.13]: https://github.com/taiki-e/install-action/compare/v2.42.12...v2.42.13
|
||||
[2.42.12]: https://github.com/taiki-e/install-action/compare/v2.42.11...v2.42.12
|
||||
[2.42.11]: https://github.com/taiki-e/install-action/compare/v2.42.10...v2.42.11
|
||||
[2.42.10]: https://github.com/taiki-e/install-action/compare/v2.42.9...v2.42.10
|
||||
[2.42.9]: https://github.com/taiki-e/install-action/compare/v2.42.8...v2.42.9
|
||||
|
||||
@@ -17,8 +17,8 @@ See JSON files in `tools/codegen/base` directory for examples of the manifest.
|
||||
> If you're having problem with github api rate limit, you can use your GITHUB_TOKEN to increase the rate limit.
|
||||
> If you have `Github CLI` installed (the command `gh`), you can:
|
||||
>
|
||||
> ```shell
|
||||
> GITHUB_TOKEN=$(gh auth status --show-token 2>&1 | sed -n 's/^.*Token: \(.*\)$/\1/p') ./tools/manifest.sh <tool>
|
||||
> ```sh
|
||||
> GITHUB_TOKEN=$(gh auth status --show-token 2>&1 | sed -n 's/^.*Token: //p') ./tools/manifest.sh <tool>
|
||||
> ```
|
||||
|
||||
## Refresh TOOLS.md
|
||||
|
||||
1
TOOLS.md
1
TOOLS.md
@@ -45,6 +45,7 @@ See the [Supported tools section in README.md](README.md#supported-tools) for ho
|
||||
| [**hyperfine**](https://github.com/sharkdp/hyperfine) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/sharkdp/hyperfine/releases) | Linux, macOS, Windows | [MIT](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/sharkdp/hyperfine/blob/master/LICENSE-APACHE) |
|
||||
| [**jaq**](https://github.com/01mf02/jaq) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/01mf02/jaq/releases) | Linux, macOS, Windows | [MIT](https://github.com/01mf02/jaq/blob/main/LICENSE-MIT) |
|
||||
| [**just**](https://github.com/casey/just) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/casey/just/releases) | Linux, macOS, Windows | [CC0-1.0](https://github.com/casey/just/blob/master/LICENSE) |
|
||||
| [**knope**](https://github.com/knope-dev/knope) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/knope-dev/knope/releases) | Linux, macOS, Windows | [MIT](https://github.com/knope-dev/knope/blob/main/LICENSE) |
|
||||
| [**mdbook**](https://github.com/rust-lang/mdBook) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/rust-lang/mdBook/releases) | Linux, macOS, Windows | [MPL-2.0](https://github.com/rust-lang/mdBook/blob/master/LICENSE) |
|
||||
| [**mdbook-linkcheck**](https://github.com/Michael-F-Bryan/mdbook-linkcheck) | `$CARGO_HOME/bin` | [GitHub Releases](https://github.com/Michael-F-Bryan/mdbook-linkcheck/releases) | Linux, macOS, Windows | [MIT](https://github.com/Michael-F-Bryan/mdbook-linkcheck/blob/master/LICENSE) |
|
||||
| [**osv-scanner**](https://github.com/google/osv-scanner) | `$HOME/.install-action/bin` | [GitHub Releases](https://github.com/google/osv-scanner/releases) | Linux, macOS, Windows | [Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE) |
|
||||
|
||||
@@ -25,7 +25,7 @@ runs:
|
||||
set -eu
|
||||
if ! command -v bash >/dev/null; then
|
||||
if grep -Eq '^ID=alpine' /etc/os-release; then
|
||||
printf '::group::Install packages required for checkout-action (bash)\n'
|
||||
printf '::group::Install packages required for install-action (bash)\n'
|
||||
# NB: sync with apk_install in main.sh
|
||||
if command -v sudo >/dev/null; then
|
||||
sudo apk --no-cache add bash
|
||||
@@ -36,7 +36,7 @@ runs:
|
||||
fi
|
||||
printf '::endgroup::\n'
|
||||
else
|
||||
printf '::error::checkout-action requires bash\n'
|
||||
printf '::error::install-action requires bash\n'
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
10
main.sh
10
main.sh
@@ -49,11 +49,11 @@ download_and_checksum() {
|
||||
if [[ -n "${checksum}" ]]; then
|
||||
info "verifying sha256 checksum for $(basename "${url}")"
|
||||
if type -P sha256sum &>/dev/null; then
|
||||
echo "${checksum} *tmp" | sha256sum -c - >/dev/null
|
||||
sha256sum -c - >/dev/null <<<"${checksum} *tmp"
|
||||
elif type -P shasum &>/dev/null; then
|
||||
# GitHub-hosted macOS runner does not install GNU Coreutils by default.
|
||||
# https://github.com/actions/runner-images/issues/90
|
||||
echo "${checksum} *tmp" | shasum -a 256 -c - >/dev/null
|
||||
shasum -a 256 -c - >/dev/null <<<"${checksum} *tmp"
|
||||
else
|
||||
bail "checksum requires 'sha256sum' or 'shasum' command; consider installing one of them or setting 'checksum' input option to 'false'"
|
||||
fi
|
||||
@@ -367,11 +367,11 @@ pacman_install() {
|
||||
}
|
||||
apk_install() {
|
||||
if type -P sudo &>/dev/null; then
|
||||
sudo apk --no-cache add "$@"
|
||||
retry sudo apk --no-cache add "$@"
|
||||
elif type -P doas &>/dev/null; then
|
||||
doas apk --no-cache add "$@"
|
||||
retry doas apk --no-cache add "$@"
|
||||
else
|
||||
apk --no-cache add "$@"
|
||||
retry apk --no-cache add "$@"
|
||||
fi
|
||||
}
|
||||
sys_install() {
|
||||
|
||||
28
manifests/cargo-binstall.json
generated
28
manifests/cargo-binstall.json
generated
@@ -22,32 +22,32 @@
|
||||
},
|
||||
"license_markdown": "[GPL-3.0](https://github.com/cargo-bins/cargo-binstall/blob/HEAD/crates/bin/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.8.0"
|
||||
"version": "1.10.0"
|
||||
},
|
||||
"1.8.0": {
|
||||
"1.10.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCAD693A517928",
|
||||
"checksum": "8c771946367345f875634f72f10687f9fd737ac5e83cbbc2a132c1db0b3c508b"
|
||||
"etag": "0x8DCB9185281E8CE",
|
||||
"checksum": "25e1f5eb019b06f273207c6dd1e2b7ac36b86660d2cd740e152cb99e33715178"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCAD68E9C4E33E",
|
||||
"checksum": "60c23f0698896a0f431fa29e3b2cd0f87ecf1191e66ab5fa191fff38b409c1d1"
|
||||
"etag": "0x8DCB91807B7C5DD",
|
||||
"checksum": "8ab17e8037ea697f25c8ce6a4e5d05f55fed98ad27e44e69916b21ab576dc253"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCAD69D6138E74",
|
||||
"checksum": "adcabaeef7427f5bcbec91aeee0fbdcf1ca0b07b778740b6e6dd82f732eb880e"
|
||||
"etag": "0x8DCB918FC8D1D60",
|
||||
"checksum": "f880eb5f96f2221e1d5f42072e64aba0df11eca64d12a50277afddbfe10ceb8d"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCAD68F32DE3D7",
|
||||
"checksum": "5f3c3d9cfe17fc225d2733b4ec82d002161c509cf7eb2415d2b01770bc68d0c3"
|
||||
"etag": "0x8DCB918038BEDE5",
|
||||
"checksum": "a7bfc49f91e31a03ff09ed6e8f8eb2cefe414dd357c5d057713e80afd4d7bb0a"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCAD693D4C9145",
|
||||
"checksum": "9417a505da3c4174cef954477d74f164baa702842d7cc4be64d6048d48def39a"
|
||||
"etag": "0x8DCB91842167176",
|
||||
"checksum": "d5fc3006c6bf7d0f9d7f7f32fd1b0fedec6da834273d5098dea309b501ace1ce"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"etag": "0x8DCAD69AFEB9269",
|
||||
"checksum": "422ff022d8675d3df1b8ff4958d37b1a46c17177503a64632b1d8f882949b570"
|
||||
"etag": "0x8DCB918DAF9CEAF",
|
||||
"checksum": "1018864440e32a4053f8134e88623519bee969538acc4bc177d683f86215d531"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
18
manifests/cargo-careful.json
generated
18
manifests/cargo-careful.json
generated
@@ -13,10 +13,24 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-MIT) OR [Apache-2.0](https://github.com/RalfJung/cargo-careful/blob/master/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.4.2"
|
||||
"version": "0.4.3"
|
||||
},
|
||||
"0.4": {
|
||||
"version": "0.4.2"
|
||||
"version": "0.4.3"
|
||||
},
|
||||
"0.4.3": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB92F10570A48",
|
||||
"checksum": "8a39c7c88744b7dec49fdedd08588e75343aabd466c9ec811832b65680c64e6d"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB92F104F71BD",
|
||||
"checksum": "c4d1b19bc243bd1d8ed5d99413d9a625b852e394e614b7871d71deb9557940e9"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB92F104F4AD5",
|
||||
"checksum": "1a3bb682553c48cef478609a377e8f845929efad8c4c903ae4ad66348ac5b0c3"
|
||||
}
|
||||
},
|
||||
"0.4.2": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
49
manifests/cargo-deny.json
generated
49
manifests/cargo-deny.json
generated
@@ -24,7 +24,54 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-MIT) OR [Apache-2.0](https://github.com/EmbarkStudios/cargo-deny/blob/main/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.15.1"
|
||||
"version": "0.16.1"
|
||||
},
|
||||
"0.16": {
|
||||
"version": "0.16.1"
|
||||
},
|
||||
"0.16.1": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB53F645CB8D4",
|
||||
"checksum": "9612f02c85effbc97924c91e1e5b20eb51e48206e2627abb80a8f1b152ac0103"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB53F7E1FD62D",
|
||||
"checksum": "74e0da17be6d25c09a6a8038147ff498e92a75667c654fc39c9cc5bbd68ac842"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB53FC4A35306",
|
||||
"checksum": "fe69a1481510c51bfca78c26927c8d64476ae8c46f4abc0629a197a34500fed8"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCB53F708123D3",
|
||||
"checksum": "3df23bbdc19f5bf12284cbebde70f8d00587fe416c1fdd92dd1bee858d6bfada"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB53F449AEB60",
|
||||
"checksum": "9336a1582c43b091c38950c9ebb5fdce7248fa8ce6ad30a65048779ac61f50a1"
|
||||
}
|
||||
},
|
||||
"0.16.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB2EE75FA8D03",
|
||||
"checksum": "e174b7c432da932b14a317b531c427a706859e4a9e933ea55f0d99698d4c4e76"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB2EE7AE1DF07",
|
||||
"checksum": "badd69123b6a5ee99ac70e1aad31ee68a2c9eb7bf0bc8d9d65c4967ee356bd9e"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB2EF72449861",
|
||||
"checksum": "ba744b92d69823b82a9445bbc41f31e3ddeaac8b3dfdb5436ea2b2298e72f3fb"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCB2EE82BE5D46",
|
||||
"checksum": "67b2bbc7538cd72b1dd191f46affe36a7bba08632e277cd34b6c7ebe129f80d8"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB2EE7A948B24",
|
||||
"checksum": "b97f4913312c76aae7d7f0f0d585f8c5fefbff697b3b8ad1a5fe0fa335fbc74f"
|
||||
}
|
||||
},
|
||||
"0.15": {
|
||||
"version": "0.15.1"
|
||||
|
||||
36
manifests/cargo-hack.json
generated
36
manifests/cargo-hack.json
generated
@@ -3,10 +3,42 @@
|
||||
"template": null,
|
||||
"license_markdown": "[Apache-2.0](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-APACHE) OR [MIT](https://github.com/taiki-e/cargo-hack/blob/main/LICENSE-MIT)",
|
||||
"latest": {
|
||||
"version": "0.6.30"
|
||||
"version": "0.6.31"
|
||||
},
|
||||
"0.6": {
|
||||
"version": "0.6.30"
|
||||
"version": "0.6.31"
|
||||
},
|
||||
"0.6.31": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.31/cargo-hack-x86_64-unknown-linux-musl.tar.gz",
|
||||
"etag": "0x8DCB7A9CB75CB85",
|
||||
"checksum": "b5e17ff9ad0224af30af1e1e8d27fef1010c7fda58048a12c704ffb2675b6ad6"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.31/cargo-hack-x86_64-apple-darwin.tar.gz",
|
||||
"etag": "0x8DCB7A9E485B392",
|
||||
"checksum": "2d935eafc5082eb19dc33b123bac7ca898109bb0ca7a8ab7de19c44b4d5317a0"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.31/cargo-hack-x86_64-pc-windows-msvc.tar.gz",
|
||||
"etag": "0x8DCB7AA01F78A70",
|
||||
"checksum": "5f56c408db441437830e6ef91eda64187880821fe54f455a956f9397443ff034"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.31/cargo-hack-aarch64-unknown-linux-musl.tar.gz",
|
||||
"etag": "0x8DCB7A9BA4B08FA",
|
||||
"checksum": "435bb927b1db4d45a4807e1857aa662e1fa0715c8402da7ac56f713cc904aff7"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.31/cargo-hack-aarch64-apple-darwin.tar.gz",
|
||||
"etag": "0x8DCB7A9D355C7A8",
|
||||
"checksum": "ecd866a64c1cd14e90cc4670ec466f0c0408d86aa53cd9ca2d1cae42da4a7ffd"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"url": "https://github.com/taiki-e/cargo-hack/releases/download/v0.6.31/cargo-hack-aarch64-pc-windows-msvc.tar.gz",
|
||||
"etag": "0x8DCB7AA071F6D09",
|
||||
"checksum": "a986372c14989387dab85aafc55bc36ee1959cec2a270447b132de7f75905802"
|
||||
}
|
||||
},
|
||||
"0.6.30": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
26
manifests/cargo-tarpaulin.json
generated
26
manifests/cargo-tarpaulin.json
generated
@@ -19,10 +19,32 @@
|
||||
},
|
||||
"license_markdown": "[MIT](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-MIT) OR [Apache-2.0](https://github.com/xd009642/tarpaulin/blob/develop/LICENSE-APACHE)",
|
||||
"latest": {
|
||||
"version": "0.31.0"
|
||||
"version": "0.31.1"
|
||||
},
|
||||
"0.31": {
|
||||
"version": "0.31.0"
|
||||
"version": "0.31.1"
|
||||
},
|
||||
"0.31.1": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB542DB224D2C",
|
||||
"checksum": "d49898d65162ca77b1ae227a033f2d155758db6069fe4caf816cfa15ed8e63f0"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB542AFB6A91A",
|
||||
"checksum": "5c69e5b2fac580279ecf9c5e8c682e2c57d81fd0556137606d6ddf938ddd2972"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB542E7194CF8",
|
||||
"checksum": "71612269548eec15853fb0845189d3888848a4b2beb3424f923b2d36801ad2c9"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCB542AFFB7AE9",
|
||||
"checksum": "a3a5a52eb74d51cb477f30c1c7b81909ebb4f5897cf46794463bf65ca933e013"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB5424EF51919",
|
||||
"checksum": "a21e355cf84e7cf5f0f0a0dc9d1537cac12ba62fd09385b2a1650b7d9c3e3077"
|
||||
}
|
||||
},
|
||||
"0.31.0": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
54
manifests/just.json
generated
54
manifests/just.json
generated
@@ -19,10 +19,60 @@
|
||||
},
|
||||
"license_markdown": "[CC0-1.0](https://github.com/casey/just/blob/master/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.32.0"
|
||||
"version": "1.34.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.32.0"
|
||||
"version": "1.34.0"
|
||||
},
|
||||
"1.34": {
|
||||
"version": "1.34.0"
|
||||
},
|
||||
"1.34.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB33579D69A8D",
|
||||
"checksum": "42df46f7ce727bdb2c3b5357017d885bd2033e8dbb154ca8e8f229e75093aeca"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB335950127EB",
|
||||
"checksum": "1f5eea49f34c61c0e55a12feab1af7f033fbdead8c0b81ddeeb282beb1dc7efa"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB335D882654C",
|
||||
"checksum": "02fbdfbf30c6289ec09c2296bf95f284737a2f976baf7123ab03e7275c723913"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCB3358042374F",
|
||||
"checksum": "6a86cc20be1c58b3a613d6daf9da922adc9dcfb578c0f2c73f0cff352aa14137"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB3357CEF511D",
|
||||
"checksum": "9477b2413ba26928642c4fcbeba4e8a427a50bde4d7cc0dde4caaf661a8585ef"
|
||||
}
|
||||
},
|
||||
"1.33": {
|
||||
"version": "1.33.0"
|
||||
},
|
||||
"1.33.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB104CB15E057",
|
||||
"checksum": "7e6480ee1c1b1c906f7f1933cc1a1b9f281812341f997b78dcd166430f5ea500"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB104BCC8E392",
|
||||
"checksum": "6a47509447bfce51860532fed0386d7194dcd1b632293005e7f0188b79a6cd82"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB105165BF45E",
|
||||
"checksum": "7c07de1d110698933bd2530dde5d2453cd0c15ebbbc7cc47755dd872869bcc9f"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCB104D96EB679",
|
||||
"checksum": "222eac28769adc65ea2cff037d0531bef12ddda8d2fa2cc06b564c962ab62875"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB104BB5C9530",
|
||||
"checksum": "379db9caf697231b60b04ab2cc1f8f49c1e16597028cbd98c143b720fd0e4a89"
|
||||
}
|
||||
},
|
||||
"1.32": {
|
||||
"version": "1.32.0"
|
||||
|
||||
31
manifests/knope.json
generated
31
manifests/knope.json
generated
@@ -3,7 +3,36 @@
|
||||
"template": null,
|
||||
"license_markdown": "[MIT](https://github.com/knope-dev/knope/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "0.16.2"
|
||||
"version": "0.17.0"
|
||||
},
|
||||
"0.17": {
|
||||
"version": "0.17.0"
|
||||
},
|
||||
"0.17.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/knope-dev/knope/releases/download/knope/v0.17.0/knope-x86_64-unknown-linux-musl.tgz",
|
||||
"etag": "0x8DCB44B4EF4F162",
|
||||
"checksum": "22e3c2139694a5d98ac4486f586a2cdc3657b23ad0fb8dda6abdb0a6c7e1038f",
|
||||
"bin": "knope-x86_64-unknown-linux-musl/knope"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/knope-dev/knope/releases/download/knope/v0.17.0/knope-x86_64-apple-darwin.tgz",
|
||||
"etag": "0x8DCB44B4FC8DF39",
|
||||
"checksum": "cb51915d8daad67e6ce86335d35f790d77aa28089421a890972bb807c1ef002d",
|
||||
"bin": "knope-x86_64-apple-darwin/knope"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/knope-dev/knope/releases/download/knope/v0.17.0/knope-x86_64-pc-windows-msvc.tgz",
|
||||
"etag": "0x8DCB44B4F5F4983",
|
||||
"checksum": "51dba6079c1f834012a97026585bc3e0560af7d3f7cdaab411cb38d55931e17a",
|
||||
"bin": "knope-x86_64-pc-windows-msvc/knope.exe"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/knope-dev/knope/releases/download/knope/v0.17.0/knope-aarch64-apple-darwin.tgz",
|
||||
"etag": "0x8DCB44B503E7552",
|
||||
"checksum": "8ef0c9f45f4a5f07a403011c50126e614a40cc6d3b717ec03a81979a5e77484f",
|
||||
"bin": "knope-aarch64-apple-darwin/knope"
|
||||
}
|
||||
},
|
||||
"0.16": {
|
||||
"version": "0.16.2"
|
||||
|
||||
38
manifests/osv-scanner.json
generated
38
manifests/osv-scanner.json
generated
@@ -3,13 +3,45 @@
|
||||
"template": null,
|
||||
"license_markdown": "[Apache-2.0](https://github.com/google/osv-scanner/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.8.2"
|
||||
"version": "1.8.3"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.8.2"
|
||||
"version": "1.8.3"
|
||||
},
|
||||
"1.8": {
|
||||
"version": "1.8.2"
|
||||
"version": "1.8.3"
|
||||
},
|
||||
"1.8.3": {
|
||||
"x86_64_linux_musl": {
|
||||
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.3/osv-scanner_linux_amd64",
|
||||
"etag": "0x8DCB69A5EDA9989",
|
||||
"checksum": "ddb3d48ae920a7bb711ed7c1971ec51cb8cc0256c95965bd1422b2dfe4bece47"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.3/osv-scanner_darwin_amd64",
|
||||
"etag": "0x8DCB69A5F7016C9",
|
||||
"checksum": "98319f3c491d0b0baa6b3ac64c53061fa76060795ccf034bd4f1cd9fad453df0"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.3/osv-scanner_windows_amd64.exe",
|
||||
"etag": "0x8DCB69A5F987FE7",
|
||||
"checksum": "96a3a312ce02ffed2694b532a7d8047bf6ddeab58179a794755aeddda5f9c1ce"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.3/osv-scanner_linux_arm64",
|
||||
"etag": "0x8DCB69A5EDBA9D6",
|
||||
"checksum": "809673169f6d4155c7b86a53b517b93d5644b2ba798d30bca0d648dd266513da"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.3/osv-scanner_darwin_arm64",
|
||||
"etag": "0x8DCB69A5EBA3DAE",
|
||||
"checksum": "e4c02524829546055e3b0675f76c9bdcb7bd5a1a4f1983e4aa6c86b1192aeea8"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"url": "https://github.com/google/osv-scanner/releases/download/v1.8.3/osv-scanner_windows_arm64.exe",
|
||||
"etag": "0x8DCB69A5ECDFD9A",
|
||||
"checksum": "6973d9f7a4016b611f012301a4e1fbb04bb3c6349cd6b560851e5e7c88bcdfbc"
|
||||
}
|
||||
},
|
||||
"1.8.2": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
33
manifests/protoc.json
generated
33
manifests/protoc.json
generated
@@ -3,13 +3,40 @@
|
||||
"template": null,
|
||||
"license_markdown": "[BSD-3-Clause](https://github.com/protocolbuffers/protobuf/blob/HEAD/LICENSE)",
|
||||
"latest": {
|
||||
"version": "3.27.2"
|
||||
"version": "3.27.3"
|
||||
},
|
||||
"3": {
|
||||
"version": "3.27.2"
|
||||
"version": "3.27.3"
|
||||
},
|
||||
"3.27": {
|
||||
"version": "3.27.2"
|
||||
"version": "3.27.3"
|
||||
},
|
||||
"3.27.3": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-linux-x86_64.zip",
|
||||
"etag": "0x8DCB17AB64A6DB9",
|
||||
"checksum": "6dab2adab83f915126cab53540d48957c40e9e9023969c3e84d44bfb936c7741"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-osx-x86_64.zip",
|
||||
"etag": "0x8DCB17AB64A1FF0",
|
||||
"checksum": "ce282648fed0e7fbd6237d606dc9ec168dd2c1863889b04efa0b19c47da65d1b"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-win64.zip",
|
||||
"etag": "0x8DCB17AB6974CCF",
|
||||
"checksum": "bdccd341a0c25ff4f65d8530f170c78ce5681e42920aa5d892f27ac06cc3bba0"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-linux-aarch_64.zip",
|
||||
"etag": "0x8DCB17AB5CD183F",
|
||||
"checksum": "bdad36f3ad7472281d90568c4956ea2e203c216e0de005c6bd486f1920f2751c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v27.3/protoc-27.3-osx-aarch_64.zip",
|
||||
"etag": "0x8DCB17AB64A46DB",
|
||||
"checksum": "b22116bd97cdbd7ea25346abe635a9df268515fe5ef5afa93cd9a68fc2513f84"
|
||||
}
|
||||
},
|
||||
"3.27.2": {
|
||||
"x86_64_linux_gnu": {
|
||||
|
||||
54
manifests/syft.json
generated
54
manifests/syft.json
generated
@@ -24,10 +24,60 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0](https://github.com/anchore/syft/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "1.9.0"
|
||||
"version": "1.11.0"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.9.0"
|
||||
"version": "1.11.0"
|
||||
},
|
||||
"1.11": {
|
||||
"version": "1.11.0"
|
||||
},
|
||||
"1.11.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB89D2402EC9D",
|
||||
"checksum": "0a61e5ef09f88562a35b6ec5dd27fa77f19c8611c26e58d527c4da191736b472"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB89D24C1BC37",
|
||||
"checksum": "34532f1b858e0ead13230c78e61158faacac4dbb1ed57f4da4622c738be7a691"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB89D24C0ABE8",
|
||||
"checksum": "56a187682873f2644d9b5f9ec07b8476c6257244b5f7a9c23d4c49c1d7f6e11a"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCB89D24092728",
|
||||
"checksum": "10de71da67132e41dad43a9ceea1f816e5fe3bc19feda2d5b0d33c08abc03668"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB89D247D85E6",
|
||||
"checksum": "704904af8325b9ebfb7633b44221e148cb42215718ec64c8f9450fd94354db89"
|
||||
}
|
||||
},
|
||||
"1.10": {
|
||||
"version": "1.10.0"
|
||||
},
|
||||
"1.10.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB0B38880BCEF",
|
||||
"checksum": "f2a75245ccd915e965cecf0cfc25a50e61ac5ca5cbb1f92e67252ac6502d3c76"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB0B389390472",
|
||||
"checksum": "92992f8c758807f175d2c0ca09152b18108aa4b342a87f979d389f349ed1d818"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB0B38947E7D0",
|
||||
"checksum": "eeaf9fe769b26dab0efe5a7d265a573f1b91df1a4f6f1d1539f1495b67e76e54"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"etag": "0x8DCB0B388832B32",
|
||||
"checksum": "b940f3f5468259bba519f0aa098ad707397cea1399bb050fc2273a09a41d1716"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB0B38936BD11",
|
||||
"checksum": "c72924ffa02e954af495182dec35305400994f158c56a0095f54c51f14948e95"
|
||||
}
|
||||
},
|
||||
"1.9": {
|
||||
"version": "1.9.0"
|
||||
|
||||
24
manifests/typos.json
generated
24
manifests/typos.json
generated
@@ -16,13 +16,31 @@
|
||||
},
|
||||
"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.23.5"
|
||||
"version": "1.23.6"
|
||||
},
|
||||
"1": {
|
||||
"version": "1.23.5"
|
||||
"version": "1.23.6"
|
||||
},
|
||||
"1.23": {
|
||||
"version": "1.23.5"
|
||||
"version": "1.23.6"
|
||||
},
|
||||
"1.23.6": {
|
||||
"x86_64_linux_musl": {
|
||||
"etag": "0x8DCB1805CF029F6",
|
||||
"checksum": "270b9de3f7312d707880671cbb68de7c622d61a5c78786b4403d854181ea0658"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCB18050551047",
|
||||
"checksum": "a851b709ce0107b1f656f758d36f30c1f773c63783d43b2998073b17ea32f99f"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCB180645C1595",
|
||||
"checksum": "89da618d83454bd570af471249407be6b755c6f785f605195b9bd2fc31264d6c"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCB18048CF50F2",
|
||||
"checksum": "49cbae226148a488af2126ba396bf871111df2fdf088cecf2135479d0499bd45"
|
||||
}
|
||||
},
|
||||
"1.23.5": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
28
manifests/wasmtime.json
generated
28
manifests/wasmtime.json
generated
@@ -24,13 +24,35 @@
|
||||
},
|
||||
"license_markdown": "[Apache-2.0 WITH LLVM-exception](https://github.com/bytecodealliance/wasmtime/blob/main/LICENSE)",
|
||||
"latest": {
|
||||
"version": "23.0.1"
|
||||
"version": "23.0.2"
|
||||
},
|
||||
"23": {
|
||||
"version": "23.0.1"
|
||||
"version": "23.0.2"
|
||||
},
|
||||
"23.0": {
|
||||
"version": "23.0.1"
|
||||
"version": "23.0.2"
|
||||
},
|
||||
"23.0.2": {
|
||||
"x86_64_linux_gnu": {
|
||||
"etag": "0x8DCBAFB6BC03CF7",
|
||||
"checksum": "78708a332c97ec764515f93ae480f5b31abb167b7c534817ce282a8571e0c426"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"etag": "0x8DCBAFB6CB96324",
|
||||
"checksum": "3f43858533e730dcb36304665622362bd91479f2ac8ffdbae95c7ca91d41d038"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"etag": "0x8DCBAFB700EB903",
|
||||
"checksum": "fab87dbb0a104b0e25dc4dbf10f1a856ab30079371b4b68d024e3f15a79c48c7"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"etag": "0x8DCBAFB657DA1DE",
|
||||
"checksum": "54edf90126a58dc7fe269fb25699346242e8648fc9a414011432e29415d2e52b"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"etag": "0x8DCBAFB6661D0FF",
|
||||
"checksum": "dcfe805271e8872e3025f3bfc1404de6efa13ad87fe9132ff8d27aa42caf7068"
|
||||
}
|
||||
},
|
||||
"23.0.1": {
|
||||
"x86_64_linux_gnu": {
|
||||
|
||||
@@ -7,7 +7,7 @@ use std::{
|
||||
ffi::OsStr,
|
||||
io::Read,
|
||||
path::Path,
|
||||
sync::{OnceLock, RwLock},
|
||||
sync::{LazyLock, RwLock},
|
||||
time::Duration,
|
||||
};
|
||||
|
||||
@@ -649,43 +649,38 @@ struct GitHubTokens {
|
||||
other: RwLock<Option<String>>,
|
||||
}
|
||||
impl GitHubTokens {
|
||||
// TODO: Use std::sync::LazyLock once 1.80 is released
|
||||
fn get_github_tokens() -> &'static GitHubTokens {
|
||||
static GITHUB_TOKENS: OnceLock<GitHubTokens> = OnceLock::new();
|
||||
GITHUB_TOKENS.get_or_init(|| {
|
||||
let token = env::var("GITHUB_TOKEN").ok().filter(|v| !v.is_empty());
|
||||
GitHubTokens {
|
||||
raw: RwLock::new(token.clone()),
|
||||
api: RwLock::new(token.clone()),
|
||||
other: RwLock::new(token),
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
fn get(url: &str) -> Option<String> {
|
||||
fn get(&self, url: &str) -> Option<String> {
|
||||
if url.starts_with("https://raw.githubusercontent.com/") {
|
||||
Self::get_github_tokens().raw.read().unwrap().clone()
|
||||
self.raw.read().unwrap().clone()
|
||||
} else if url.starts_with("https://api.github.com/") {
|
||||
Self::get_github_tokens().api.read().unwrap().clone()
|
||||
self.api.read().unwrap().clone()
|
||||
} else if url.starts_with("https://github.com/") {
|
||||
Self::get_github_tokens().other.read().unwrap().clone()
|
||||
self.other.read().unwrap().clone()
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
fn clear(url: &str) {
|
||||
fn clear(&self, url: &str) {
|
||||
if url.starts_with("https://raw.githubusercontent.com/") {
|
||||
*Self::get_github_tokens().raw.write().unwrap() = None;
|
||||
*self.raw.write().unwrap() = None;
|
||||
} else if url.starts_with("https://api.github.com/") {
|
||||
*Self::get_github_tokens().api.write().unwrap() = None;
|
||||
*self.api.write().unwrap() = None;
|
||||
} else if url.starts_with("https://github.com/") {
|
||||
*Self::get_github_tokens().other.write().unwrap() = None;
|
||||
*self.other.write().unwrap() = None;
|
||||
}
|
||||
}
|
||||
}
|
||||
static GITHUB_TOKENS: LazyLock<GitHubTokens> = LazyLock::new(|| {
|
||||
let token = env::var("GITHUB_TOKEN").ok().filter(|v| !v.is_empty());
|
||||
GitHubTokens {
|
||||
raw: RwLock::new(token.clone()),
|
||||
api: RwLock::new(token.clone()),
|
||||
other: RwLock::new(token),
|
||||
}
|
||||
});
|
||||
|
||||
fn download(url: &str) -> Result<ureq::Response> {
|
||||
let mut token = GitHubTokens::get(url);
|
||||
let mut token = GITHUB_TOKENS.get(url);
|
||||
let mut retry = 0;
|
||||
let mut retry_time = 0;
|
||||
let mut max_retry = 6;
|
||||
@@ -707,7 +702,7 @@ fn download(url: &str) -> Result<ureq::Response> {
|
||||
retry_time = 0;
|
||||
token = None;
|
||||
// rate limit
|
||||
GitHubTokens::clear(url);
|
||||
GITHUB_TOKENS.clear(url);
|
||||
}
|
||||
retry += 1;
|
||||
if retry > max_retry {
|
||||
@@ -721,7 +716,7 @@ fn download(url: &str) -> Result<ureq::Response> {
|
||||
|
||||
fn github_head(url: &str) -> Result<()> {
|
||||
eprintln!("fetching head of {url} ..");
|
||||
let mut token = GitHubTokens::get(url);
|
||||
let mut token = GITHUB_TOKENS.get(url);
|
||||
let mut retry = 0;
|
||||
let mut retry_time = 0;
|
||||
let mut max_retry = 2;
|
||||
@@ -744,7 +739,7 @@ fn github_head(url: &str) -> Result<()> {
|
||||
if token.is_some() && retry == max_retry / 2 {
|
||||
retry_time = 0;
|
||||
token = None;
|
||||
GitHubTokens::clear(url);
|
||||
GITHUB_TOKENS.clear(url);
|
||||
}
|
||||
retry += 1;
|
||||
if retry > max_retry {
|
||||
|
||||
@@ -12,6 +12,8 @@ This is a list of tools that are installed from manifests managed in this action
|
||||
|
||||
If a tool not included in the list below is specified, this action uses [cargo-binstall] as a fallback.
|
||||
|
||||
See the [Supported tools section in README.md](README.md#supported-tools) for how to ensure that fallback is not used.
|
||||
|
||||
> If `$CARGO_HOME/bin` is not available, Rust-related binaries will be installed to `$HOME/.cargo/bin`.<br>
|
||||
> If `$HOME/.cargo/bin` is not available, Rust-related binaries will be installed to `$HOME/.install-action/bin`.<br>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user