mirror of
https://github.com/taiki-e/install-action.git
synced 2026-04-28 18:10:26 +00:00
Compare commits
31 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
af69857b4d | ||
|
|
e0569e0473 | ||
|
|
5ba293a432 | ||
|
|
7282cc8708 | ||
|
|
02416c9844 | ||
|
|
329d41893a | ||
|
|
2336994aba | ||
|
|
71ccc3978d | ||
|
|
28dd623da7 | ||
|
|
1c96e2750b | ||
|
|
b047e58764 | ||
|
|
02aadca714 | ||
|
|
c64d4ba1ed | ||
|
|
f006976e02 | ||
|
|
7570159fcc | ||
|
|
7fed544855 | ||
|
|
9eaa8ca48b | ||
|
|
159a429775 | ||
|
|
f11f1002f9 | ||
|
|
2bb480a517 | ||
|
|
99f013d5f8 | ||
|
|
5eaf5ab4ba | ||
|
|
03352a8b6a | ||
|
|
af4171e2c6 | ||
|
|
3d7b60cc55 | ||
|
|
bb9815bf9d | ||
|
|
f0a8f08e0c | ||
|
|
23d49b97dc | ||
|
|
e7a47b23f5 | ||
|
|
13917065c4 | ||
|
|
3a95a5da72 |
@@ -26,7 +26,7 @@
|
||||
],
|
||||
"ignoreRegExpList": [
|
||||
// Copyright notice
|
||||
"Copyright ((\\(c\\)|\\(C\\)|©) )?.*",
|
||||
"Copyright .*",
|
||||
// GHA actions/workflows
|
||||
"uses: .+@",
|
||||
// GHA context (repo name, owner name, etc.)
|
||||
@@ -35,6 +35,8 @@
|
||||
"( |\\[)@[\\w_-]+",
|
||||
// Git config username
|
||||
"git config user.name .*",
|
||||
// Username in todo comment
|
||||
"(TODO|FIXME)\\([\\w_., -]+\\)",
|
||||
// Cargo.toml authors
|
||||
"authors *= *\\[.*\\]",
|
||||
"\".* <[\\w_.+-]+@[\\w.-]+>\""
|
||||
|
||||
24
.github/.cspell/organization-dictionary.txt
vendored
24
.github/.cspell/organization-dictionary.txt
vendored
@@ -29,6 +29,7 @@ Zmiri
|
||||
|
||||
// Rust target triple
|
||||
aarch
|
||||
amdgpu
|
||||
androideabi
|
||||
armeb
|
||||
armebv
|
||||
@@ -61,6 +62,7 @@ musleabi
|
||||
musleabihf
|
||||
newlibeabihf
|
||||
nvptx
|
||||
ohos
|
||||
openwrt
|
||||
riscv
|
||||
softfloat
|
||||
@@ -77,30 +79,42 @@ vxworks
|
||||
wasi
|
||||
watchos
|
||||
xous
|
||||
xtensa
|
||||
|
||||
// Rust other
|
||||
aclass
|
||||
acqrel
|
||||
alloc
|
||||
bools
|
||||
builtins
|
||||
bytecount
|
||||
canonicalize
|
||||
consts
|
||||
ctypes
|
||||
dealloc
|
||||
deque
|
||||
docsrs
|
||||
doctest
|
||||
hasher
|
||||
impls
|
||||
inlateout
|
||||
intrinsics
|
||||
lateout
|
||||
mclass
|
||||
memcpy
|
||||
msrv
|
||||
nand
|
||||
nomem
|
||||
nonoverlapping
|
||||
noreturn
|
||||
nostack
|
||||
peekable
|
||||
punct
|
||||
rclass
|
||||
repr
|
||||
rfind
|
||||
rfold
|
||||
rposition
|
||||
rsplit
|
||||
rustlib
|
||||
seqcst
|
||||
@@ -109,14 +123,19 @@ supertrait
|
||||
supertraits
|
||||
sysroot
|
||||
toolchains
|
||||
turbofish
|
||||
uninit
|
||||
unsized
|
||||
upcastable
|
||||
|
||||
// Other
|
||||
armel
|
||||
armhf
|
||||
binutils
|
||||
connrefused
|
||||
cygwin
|
||||
dpkg
|
||||
endianness
|
||||
euxo
|
||||
msys
|
||||
noninteractive
|
||||
@@ -127,5 +146,10 @@ objdump
|
||||
pipefail
|
||||
powerset
|
||||
proto
|
||||
ranlib
|
||||
readelf
|
||||
SIGABRT
|
||||
SIGILL
|
||||
SIGINT
|
||||
SIGTERM
|
||||
tlsv
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -26,6 +26,10 @@ defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
tidy:
|
||||
uses: taiki-e/workflows/.github/workflows/tidy.yml@main
|
||||
|
||||
53
CHANGELOG.md
53
CHANGELOG.md
@@ -10,6 +10,48 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
## [2.6.7] - 2023-04-04
|
||||
|
||||
- Update `cargo-llvm-cov@latest` to 0.5.13.
|
||||
|
||||
## [2.6.6] - 2023-04-02
|
||||
|
||||
- Update `cargo-llvm-cov@latest` to 0.5.12.
|
||||
|
||||
## [2.6.5] - 2023-03-25
|
||||
|
||||
- Update `cargo-binstall@latest` to 0.22.0.
|
||||
|
||||
## [2.6.4] - 2023-03-21
|
||||
|
||||
- Update `wasmtime@latest` to 7.0.0.
|
||||
|
||||
## [2.6.3] - 2023-03-20
|
||||
|
||||
- Update `zola@latest` to 0.17.2.
|
||||
|
||||
- Update `wasm-pack@latest` to 0.11.0.
|
||||
|
||||
- Update `cargo-nextest@latest` to 0.9.51.
|
||||
|
||||
## [2.6.2] - 2023-03-14
|
||||
|
||||
- Update `cargo-binstall@latest` to 0.21.3. This fixes spurious error when accessing crates.io.
|
||||
|
||||
## [2.6.1] - 2023-03-14
|
||||
|
||||
- Update `cargo-nextest@latest` to 0.9.50.
|
||||
|
||||
## [2.6.0] - 2023-03-13
|
||||
|
||||
- Update `dprint@latest` to 0.35.3.
|
||||
|
||||
- Update `cargo-binstall@latest` to 0.21.2.
|
||||
|
||||
## [2.5.7] - 2023-03-11
|
||||
|
||||
- Update `protoc@latest` to 3.22.2.
|
||||
|
||||
## [2.5.6] - 2023-03-10
|
||||
|
||||
- Update `wasmtime@latest` to 6.0.1.
|
||||
@@ -665,7 +707,16 @@ Note: This release is considered a breaking change because installing on version
|
||||
|
||||
Initial release
|
||||
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.5.6...HEAD
|
||||
[Unreleased]: https://github.com/taiki-e/install-action/compare/v2.6.7...HEAD
|
||||
[2.6.7]: https://github.com/taiki-e/install-action/compare/v2.6.6...v2.6.7
|
||||
[2.6.6]: https://github.com/taiki-e/install-action/compare/v2.6.5...v2.6.6
|
||||
[2.6.5]: https://github.com/taiki-e/install-action/compare/v2.6.4...v2.6.5
|
||||
[2.6.4]: https://github.com/taiki-e/install-action/compare/v2.6.3...v2.6.4
|
||||
[2.6.3]: https://github.com/taiki-e/install-action/compare/v2.6.2...v2.6.3
|
||||
[2.6.2]: https://github.com/taiki-e/install-action/compare/v2.6.1...v2.6.2
|
||||
[2.6.1]: https://github.com/taiki-e/install-action/compare/v2.6.0...v2.6.1
|
||||
[2.6.0]: https://github.com/taiki-e/install-action/compare/v2.5.7...v2.6.0
|
||||
[2.5.7]: https://github.com/taiki-e/install-action/compare/v2.5.6...v2.5.7
|
||||
[2.5.6]: https://github.com/taiki-e/install-action/compare/v2.5.5...v2.5.6
|
||||
[2.5.5]: https://github.com/taiki-e/install-action/compare/v2.5.4...v2.5.5
|
||||
[2.5.4]: https://github.com/taiki-e/install-action/compare/v2.5.3...v2.5.4
|
||||
|
||||
@@ -15,6 +15,7 @@ for manifest in manifests/*.json; do
|
||||
git stash pop
|
||||
new_version=$(jq -r '.latest.version' "${manifest}")
|
||||
if [[ "${old_version}" != "${new_version}" ]]; then
|
||||
# TODO: If there is a line about updating the same tool in the "Unreleased" section, replace it.
|
||||
msg="Update \`${name}@latest\` to ${new_version}"
|
||||
sed -i "s/^## \\[Unreleased\\]/## [Unreleased]\\n\\n- ${msg}./" CHANGELOG.md
|
||||
git add "${manifest}" CHANGELOG.md
|
||||
|
||||
16
manifests/cargo-binstall.json
generated
16
manifests/cargo-binstall.json
generated
@@ -20,26 +20,26 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.20.1"
|
||||
"version": "0.22.0"
|
||||
},
|
||||
"0.20.1": {
|
||||
"0.22.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "4729eea4277f0cfb72dd983984ef7b3938f0af5f0e256ca6e6b90c6177decbb2"
|
||||
"checksum": "2238080e5e2c4eae5993de478341af6348e10fd9763a95a77e654e6f28268266"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "8b057687f4e367bd51c2feb7f9473d2fe50fa54273ec9ae61e4e0238044f4761"
|
||||
"checksum": "3e87999ab63edf3cdd71a3839bd85661c5dea5d763718668b8b3b35b1ac5dbe0"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "467b0abcabe9c0456f721d108c90b53ea050d121f7c9ae8b23a048d0f55bad16"
|
||||
"checksum": "f656718d44ca4a09ff2231970edc7878a1aa33b6e15790a4884a758144008e27"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "8f7b6f899de74110bf7426ca9d579d4981c67a13ada64907e7095a0cd1b3f116"
|
||||
"checksum": "280fc36a0f565d76636aa3aff570c97d1e6fbd6aa08ef315af2cb968054e1d9b"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "05a1cb0a1c779263f0173e351cc5e6aab0dfc49a7c1fa5152422c4e9d16b13c0"
|
||||
"checksum": "abb87cb2ef23b552c62dc463777debb31be4a817ef9366509abb245d346e4410"
|
||||
},
|
||||
"aarch64_windows": {
|
||||
"checksum": "39e011c1e13b0f510c8c729de4bc4c93984f88c4d30cfa975e9672320ac7bd8a"
|
||||
"checksum": "50108bd891a0b6a0044f71d11e09e886a3eec44f4163d44f79a3eed049a484c2"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
38
manifests/cargo-llvm-cov.json
generated
38
manifests/cargo-llvm-cov.json
generated
@@ -17,10 +17,44 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.5.11"
|
||||
"version": "0.5.13"
|
||||
},
|
||||
"0.5": {
|
||||
"version": "0.5.11"
|
||||
"version": "0.5.13"
|
||||
},
|
||||
"0.5.13": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "e57875cba95527149d15d7f9c66b9d624d8154040f19aedbca96e2c6b7687ffb"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "f694bcaf714f352b76182b0aeec9626ca5280ceca275f949caa762a561030350"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "642046071c3c221748a3a6a08b5c7d71d7644928d4d7707fa30b38da8357f074"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "d9173b2aae99f29276cd7d84ffdea9eb29f8831acd3f9d9de1c2af4366d917df"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "b9bb4d03065c4d7e52ed4148d71d36a4c890dee37108addfa9ba19771e46fa1d"
|
||||
}
|
||||
},
|
||||
"0.5.12": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "998b1d9e630295459743fe7051a7e3d04e82836456171493eb5983dde710b07e"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "77faedad91c300b51d2d40040a6c61903a555da319047983ec56c81598cbea9b"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "5d0d3df674a431272f75e77dd2c07fdbc5ee83ade11c0839bbd0fdae35480351"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "87c54166055d2d486620ceb27440442d34d71b364fdd6f6da57a210ae5f75e33"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "05c8f8e2210a3218b167dce33477785a0bc0c718fac7b15d2f4a428791234f03"
|
||||
}
|
||||
},
|
||||
"0.5.11": {
|
||||
"x86_64_linux_musl": {
|
||||
|
||||
38
manifests/cargo-nextest.json
generated
38
manifests/cargo-nextest.json
generated
@@ -17,10 +17,44 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.9.49"
|
||||
"version": "0.9.51"
|
||||
},
|
||||
"0.9": {
|
||||
"version": "0.9.49"
|
||||
"version": "0.9.51"
|
||||
},
|
||||
"0.9.51": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "5cbf80e72737d63a601f139d6ff1c42ca9cf6204cd7991f7d6ce7458f2c12bbc"
|
||||
},
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "2d7def02b6b795b7b44fe2cca9b1b9e77bcb4c8903957ad502f60f45a2f92e9a"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "607c0cac7d659bb957af12a136756821771b9d91f03ccae24b255363e7fcbfda"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "4a97e5ab319af4347549e8414df2af5af7d9f8b4cee8650bad0111d2007711b2"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"checksum": "8da18d12f95280bf1a7bde6e13cb8e1e2ea877acc4e826c27ab6c5df653fafca"
|
||||
}
|
||||
},
|
||||
"0.9.50": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "4586cfb628f70f6493d9f861b0c71dbe66622128e935ca3c922010bd460673ba"
|
||||
},
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "c8b766b6bc28018b8a2c0597b97dd8183fe5a81ddd51fbcc1e9892147887eca3"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "77405db34f1191cc6979b3e291e7aaf587a40ee231cbccbe1885fd89e31ee577"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "6e8a2f4deeb4ade48f4424a65db13bd5122dec73d59a4eeac51c13eb997e1bdf"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"checksum": "ebb3198673a199518548af5f8c1a5be7e15a85e9ca5c3978caeb7e0cd09f2969"
|
||||
}
|
||||
},
|
||||
"0.9.49": {
|
||||
"x86_64_linux_gnu": {
|
||||
|
||||
56
manifests/dprint.json
generated
56
manifests/dprint.json
generated
@@ -20,7 +20,61 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.34.5"
|
||||
"version": "0.35.3"
|
||||
},
|
||||
"0.35": {
|
||||
"version": "0.35.3"
|
||||
},
|
||||
"0.35.3": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "05c109b7174c76345d04903fb6e16548de6ae684b24fc3849dccaa9e940fe5f0"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "1a80a4156e86c3d3d6ad4725bc0638a2456363bff4216d1cfd52cae899544cc1"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "720bdac6fbd322908d9b8d3615ae72d8c79ac4c557f43a6ce7980b7e190d6f4d"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"checksum": "d285f1f0a6688c446049dce02ca612794ea4ad0bcbc865d8aa6cad59e843576d"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "49f814ef2899c3684564a3fa46c17453850c3105aff1f3a88ff3babaadc054bd"
|
||||
}
|
||||
},
|
||||
"0.35.1": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "0e472818121e092a41c36cfcedee1021f8e4133465d97b85572448b35e322d6b"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "f8e19f55f37dc43cc9394ccf5ef2968f525e11d68f5cd8025653c3c20caeb6f6"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "023561f7af69f27a0185a58d6a5aecf5d402430bfc865db95d80b83f364ab7ec"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"checksum": "9c584fd4a55e6d8ae5edc5cf26bf87388eee2634f98af5f4653e3136ebbc619f"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "4b597e335aaaeebb62df1a1cb395fe10a53d0877e3fcbb872cb67e033b92a6a8"
|
||||
}
|
||||
},
|
||||
"0.35.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "e5bf6ea8fb9a9b236c8b03415a33e524e6721414a94786853be84e8d6a17351a"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "8b42979146ee9b9f064ba1fe6062fe33f5d9e776ff2e96710747fe7dd9a727e7"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "454e10f765a5e5d3c8de29f0ddc5f74f33f9127d70fc8d7a41cd0c7b1bbd14ee"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"checksum": "1fcba163e11d34bbca766385612e593b4c69ff23826ae18c8720dd09e05b23ac"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "28bef4e5b980e78b311bb8d25ee0c6f807d6d40736782438682c6308b2be9010"
|
||||
}
|
||||
},
|
||||
"0.34": {
|
||||
"version": "0.34.5"
|
||||
|
||||
28
manifests/protoc.json
generated
28
manifests/protoc.json
generated
@@ -1,13 +1,35 @@
|
||||
{
|
||||
"template": null,
|
||||
"latest": {
|
||||
"version": "3.22.1"
|
||||
"version": "3.22.2"
|
||||
},
|
||||
"3": {
|
||||
"version": "3.22.1"
|
||||
"version": "3.22.2"
|
||||
},
|
||||
"3.22": {
|
||||
"version": "3.22.1"
|
||||
"version": "3.22.2"
|
||||
},
|
||||
"3.22.2": {
|
||||
"x86_64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-linux-x86_64.zip",
|
||||
"checksum": "15f281b36897e0ffbbe3a02f687ff9108c7a0f98bb653fb433e4bd62e698abe7"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-osx-x86_64.zip",
|
||||
"checksum": "8bb75680c376190d960ef1d073618c1103960f70dc4fafa7bde872029562aec1"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-win64.zip",
|
||||
"checksum": "6c2bba387b8a3d2d254eddb68376217314de8d6e9b3a43d3cd2e69c054457638"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-linux-aarch_64.zip",
|
||||
"checksum": "aa2efbb2d481b7ad3c2428e0aa4dd6d813e4538e6c0a1cd4d921ac998187e07e"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"url": "https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-osx-aarch_64.zip",
|
||||
"checksum": "a196fd39acd312688b58e81266fd88e9f7799967c5439738c10345a29049261d"
|
||||
}
|
||||
},
|
||||
"3.22.1": {
|
||||
"x86_64_linux_gnu": {
|
||||
|
||||
19
manifests/wasm-pack.json
generated
19
manifests/wasm-pack.json
generated
@@ -18,7 +18,24 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.10.3"
|
||||
"version": "0.11.0"
|
||||
},
|
||||
"0.11": {
|
||||
"version": "0.11.0"
|
||||
},
|
||||
"0.11.0": {
|
||||
"x86_64_linux_musl": {
|
||||
"checksum": "f3041ac5fda684d09b28ca23555c2f24cac9d6eef57ee4ef3f29fdab1c19fe24"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "5da38cb10536e6fe686402f5af94ea48a4b94dca9bde931bf117ddce3e746f0e"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "10092618d9451bace4f727d344f19a02dda4a28ffd527272595f88b8c15efec9"
|
||||
},
|
||||
"aarch64_linux_musl": {
|
||||
"checksum": "ebc6339762f95385081a06ce3ac8d5846e7267011bc028266009cf3b4ff0f81c"
|
||||
}
|
||||
},
|
||||
"0.10": {
|
||||
"version": "0.10.3"
|
||||
|
||||
25
manifests/wasmtime.json
generated
25
manifests/wasmtime.json
generated
@@ -22,7 +22,30 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "6.0.1"
|
||||
"version": "7.0.0"
|
||||
},
|
||||
"7": {
|
||||
"version": "7.0.0"
|
||||
},
|
||||
"7.0": {
|
||||
"version": "7.0.0"
|
||||
},
|
||||
"7.0.0": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "b8a1c97f9107c885ea73a5c38677d0d340a7c26879d366e8a5f3dce84cffec99"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "70596a9f8fcf0b2467877cb184f41f6b451ade4ac74d1e0bb8986bbfbac925b4"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "bf796c35020df2df3a29475949e0330ea3fd47bbfd719d2959564c3e32a8c1a7"
|
||||
},
|
||||
"aarch64_linux_gnu": {
|
||||
"checksum": "723171912c7cd6332c1ac599851dd04dcb107f60a9f18d9d2d3bd319e3c2c6ba"
|
||||
},
|
||||
"aarch64_macos": {
|
||||
"checksum": "8e66af9cb46726f2c9b22f96cd8a08a5f1112d2f02f13f84ff2167444b14366e"
|
||||
}
|
||||
},
|
||||
"6": {
|
||||
"version": "6.0.1"
|
||||
|
||||
15
manifests/zola.json
generated
15
manifests/zola.json
generated
@@ -11,10 +11,21 @@
|
||||
}
|
||||
},
|
||||
"latest": {
|
||||
"version": "0.17.1"
|
||||
"version": "0.17.2"
|
||||
},
|
||||
"0.17": {
|
||||
"version": "0.17.1"
|
||||
"version": "0.17.2"
|
||||
},
|
||||
"0.17.2": {
|
||||
"x86_64_linux_gnu": {
|
||||
"checksum": "48742322fc0660afb22a4ce194e9b2bd610b5bd36f43abe121e56eb8a704b464"
|
||||
},
|
||||
"x86_64_macos": {
|
||||
"checksum": "5e17a54c9b1db55ae71d49587b399b8b39bdee8cbb4a198ab6449c3e0f9ad21e"
|
||||
},
|
||||
"x86_64_windows": {
|
||||
"checksum": "89c504756a2c34f8540adf7eee83a8f1b61527bc55daa7e42481a0c727cae88f"
|
||||
}
|
||||
},
|
||||
"0.17.1": {
|
||||
"x86_64_linux_gnu": {
|
||||
|
||||
@@ -41,6 +41,14 @@ warn() {
|
||||
fi
|
||||
should_fail=1
|
||||
}
|
||||
error() {
|
||||
if [[ -n "${GITHUB_ACTIONS:-}" ]]; then
|
||||
echo "::error::$*"
|
||||
else
|
||||
echo >&2 "error: $*"
|
||||
fi
|
||||
should_fail=1
|
||||
}
|
||||
|
||||
if [[ $# -gt 0 ]]; then
|
||||
cat <<EOF
|
||||
@@ -70,6 +78,11 @@ if [[ -n "$(git ls-files '*.rs')" ]]; then
|
||||
else
|
||||
warn "'rustup' is not installed"
|
||||
fi
|
||||
cast_without_turbofish=$(grep -n -E '\.cast\(\)' $(git ls-files '*.rs') || true)
|
||||
if [[ -n "${cast_without_turbofish}" ]]; then
|
||||
error "please replace \`.cast()\` with \`.cast::<type_name>()\`:"
|
||||
echo "${cast_without_turbofish}"
|
||||
fi
|
||||
fi
|
||||
|
||||
# C/C++ (if exists)
|
||||
@@ -103,8 +116,8 @@ if [[ -n "$(git ls-files '*.yml')$(git ls-files '*.js')$(git ls-files '*.json')"
|
||||
permissions=$(yq '.permissions' "${workflow}" | jq -c)
|
||||
case "${permissions}" in
|
||||
'{"contents":"read"}' | '{"contents":"none"}' | '{}') ;;
|
||||
null) warn "${workflow}: top level permissions not found; it must be 'contents: read' or weaker permissions" ;;
|
||||
*) warn "${workflow}: only 'contents: read' and weaker permissions are allowed at top level; if you want to use stronger permissions, please set job-level permissions" ;;
|
||||
null) error "${workflow}: top level permissions not found; it must be 'contents: read' or weaker permissions" ;;
|
||||
*) error "${workflow}: only 'contents: read' and weaker permissions are allowed at top level; if you want to use stronger permissions, please set job-level permissions" ;;
|
||||
esac
|
||||
# Make sure the 'needs' section is not out of date.
|
||||
if grep -q '# tidy:needs' "${workflow}" && ! grep -Eq '# *needs: \[' "${workflow}"; then
|
||||
@@ -117,7 +130,7 @@ if [[ -n "$(git ls-files '*.yml')$(git ls-files '*.js')$(git ls-files '*.json')"
|
||||
printf -v jobs '%s, ' "${jobs_actual[@]}"
|
||||
sed -i "s/needs: \[.*\] # tidy:needs/needs: [${jobs%, }] # tidy:needs/" "${workflow}"
|
||||
check_diff "${workflow}"
|
||||
warn "${workflow}: please update 'needs' section in 'ci-success' job"
|
||||
error "${workflow}: please update 'needs' section in 'ci-success' job"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
@@ -127,7 +140,7 @@ if [[ -n "$(git ls-files '*.yml')$(git ls-files '*.js')$(git ls-files '*.json')"
|
||||
fi
|
||||
fi
|
||||
if [[ -n "$(git ls-files '*.yaml')" ]]; then
|
||||
warn "please use '.yml' instead of '.yaml' for consistency"
|
||||
error "please use '.yml' instead of '.yaml' for consistency"
|
||||
git ls-files '*.yaml'
|
||||
fi
|
||||
|
||||
@@ -199,7 +212,7 @@ EOF
|
||||
fi
|
||||
dup=$(sed '/^$/d' .github/.cspell/project-dictionary.txt "${dictionary}" | LC_ALL=C sort -f | uniq -d -i | (grep -v '//.*' || true))
|
||||
if [[ -n "${dup}" ]]; then
|
||||
warn "duplicated words in dictionaries; please remove the following words from .github/.cspell/project-dictionary.txt"
|
||||
error "duplicated words in dictionaries; please remove the following words from .github/.cspell/project-dictionary.txt"
|
||||
echo "======================================="
|
||||
echo "${dup}"
|
||||
echo "======================================="
|
||||
|
||||
Reference in New Issue
Block a user