Compare commits

...

2 Commits

Author SHA1 Message Date
Taiki Endo
d612fc86be Release 1.0.3 2022-01-07 03:16:12 +09:00
Taiki Endo
b3b9147ed7 Update cargo-llvm-cov to 0.1.15 2022-01-07 03:12:35 +09:00
5 changed files with 16 additions and 9 deletions

View File

@@ -24,16 +24,15 @@ jobs:
matrix: matrix:
os: os:
- ubuntu-18.04 - ubuntu-18.04
- macos-10.15
tool: tool:
- cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cross,shellcheck,shfmt - cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog,cross,shellcheck,shfmt
- cargo-hack@0.5.10,cargo-llvm-cov@0.1.13,cargo-minimal-versions@0.1.1,parse-changelog@0.4.6,cross@0.2.1,shellcheck@0.8.0,shfmt@3.4.2 - cargo-hack@0.5.10,cargo-llvm-cov@0.1.15,cargo-minimal-versions@0.1.1,parse-changelog@0.4.6,cross@0.2.1,shellcheck@0.8.0,shfmt@3.4.2
include: include:
- os: macos-10.15
tool: cargo-hack@0.5.10,cargo-llvm-cov@0.1.13,cargo-minimal-versions@0.1.1,parse-changelog@0.4.6,cross@0.2.1,shellcheck@0.8.0,shfmt@3.4.2
- os: windows-2019 - os: windows-2019
tool: cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog tool: cargo-hack,cargo-llvm-cov,cargo-minimal-versions,parse-changelog
- os: windows-2019 - os: windows-2019
tool: cargo-hack@0.5.10,cargo-llvm-cov@0.1.13,cargo-minimal-versions@0.1.1,parse-changelog@0.4.6,cross@0.2.1 tool: cargo-hack@0.5.10,cargo-llvm-cov@0.1.15,cargo-minimal-versions@0.1.1,parse-changelog@0.4.6,cross@0.2.1
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2

View File

@@ -10,6 +10,10 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
## [Unreleased] ## [Unreleased]
## [1.0.3] - 2022-01-06
- Update `cargo-llvm-cov@latest` to 0.1.15.
## [1.0.2] - 2022-01-05 ## [1.0.2] - 2022-01-05
- Update `cargo-minimal-versions@latest` to 0.1.1. - Update `cargo-minimal-versions@latest` to 0.1.1.
@@ -22,7 +26,8 @@ Note: In this file, do not use the hard wrap in the middle of a sentence for com
Initial release Initial release
[Unreleased]: https://github.com/taiki-e/install-action/compare/v1.0.2...HEAD [Unreleased]: https://github.com/taiki-e/install-action/compare/v1.0.3...HEAD
[1.0.3]: https://github.com/taiki-e/install-action/compare/v1.0.2...v1.0.3
[1.0.2]: https://github.com/taiki-e/install-action/compare/v1.0.1...v1.0.2 [1.0.2]: https://github.com/taiki-e/install-action/compare/v1.0.1...v1.0.2
[1.0.1]: https://github.com/taiki-e/install-action/compare/v1.0.0...v1.0.1 [1.0.1]: https://github.com/taiki-e/install-action/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/taiki-e/install-action/releases/tag/v1.0.0 [1.0.0]: https://github.com/taiki-e/install-action/releases/tag/v1.0.0

View File

@@ -39,7 +39,7 @@ To install a specific version, use `@version` syntax:
```yaml ```yaml
- uses: taiki-e/install-action@v1 - uses: taiki-e/install-action@v1
with: with:
tool: cargo-hack@0.5.9 tool: cargo-hack@0.5.10
``` ```
To install multiple tools: To install multiple tools:

View File

@@ -28,7 +28,7 @@ warn() {
echo "::warning::$*" echo "::warning::$*"
} }
info() { info() {
echo >&2 "info: $*" echo "info: $*"
} }
if [[ $# -gt 0 ]]; then if [[ $# -gt 0 ]]; then
@@ -59,7 +59,7 @@ for tool in "${tools[@]}"; do
# https://github.com/taiki-e/cargo-hack/releases # https://github.com/taiki-e/cargo-hack/releases
cargo-hack) latest_version="0.5.10" ;; cargo-hack) latest_version="0.5.10" ;;
# https://github.com/taiki-e/cargo-llvm-cov/releases # https://github.com/taiki-e/cargo-llvm-cov/releases
cargo-llvm-cov) latest_version="0.1.13" ;; cargo-llvm-cov) latest_version="0.1.15" ;;
# https://github.com/taiki-e/cargo-minimal-versions/releases # https://github.com/taiki-e/cargo-minimal-versions/releases
cargo-minimal-versions) latest_version="0.1.1" ;; cargo-minimal-versions) latest_version="0.1.1" ;;
# https://github.com/taiki-e/parse-changelog/releases # https://github.com/taiki-e/parse-changelog/releases
@@ -144,5 +144,5 @@ for tool in "${tools[@]}"; do
cargo-*) x cargo "${tool#cargo-}" --version ;; cargo-*) x cargo "${tool#cargo-}" --version ;;
*) x "${tool}" --version ;; *) x "${tool}" --version ;;
esac esac
echo >&2 echo
done done

View File

@@ -37,6 +37,9 @@ echo "============== CHANGELOG =============="
parse-changelog CHANGELOG.md "${version}" parse-changelog CHANGELOG.md "${version}"
echo "=======================================" echo "======================================="
if ! grep <CHANGELOG.md -E "^## \\[${version//./\\.}\\] - $(date --utc '+%Y-%m-%d')$" >/dev/null; then
bail "not found section '[${version}] - $(date --utc '+%Y-%m-%d')' in CHANGELOG.md"
fi
if ! grep <CHANGELOG.md -E "^\\[${version//./\\.}\\]: " >/dev/null; then if ! grep <CHANGELOG.md -E "^\\[${version//./\\.}\\]: " >/dev/null; then
bail "not found link to [${version}] in CHANGELOG.md" bail "not found link to [${version}] in CHANGELOG.md"
fi fi