-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(release): Release version 0.11.7
- Loading branch information
Showing
26 changed files
with
994 additions
and
749 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# SPDX-FileCopyrightText: 2024 Shun Sakai | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 OR MIT | ||
|
||
[tool.bumpversion] | ||
current_version = "0.11.7" | ||
|
||
[[tool.bumpversion.files]] | ||
glob = "docs/man/man1/*.1.adoc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ permissions: | |
jobs: | ||
get-version: | ||
name: Get version | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
outputs: | ||
version: ${{ steps.get_version.outputs.version }} | ||
version_without_v: ${{ steps.get_version_without_v.outputs.version-without-v }} | ||
|
@@ -43,10 +43,10 @@ jobs: | |
- x86_64-pc-windows-msvc | ||
include: | ||
- target: aarch64-unknown-linux-musl | ||
os: ubuntu-22.04 | ||
os: ubuntu-24.04 | ||
use-cross: true | ||
- target: x86_64-unknown-linux-musl | ||
os: ubuntu-22.04 | ||
os: ubuntu-24.04 | ||
use-cross: true | ||
- target: aarch64-apple-darwin | ||
os: macos-14 | ||
|
@@ -66,18 +66,18 @@ jobs: | |
targets: ${{ matrix.target }} | ||
- name: Install cross | ||
if: ${{ matrix.use-cross }} | ||
uses: taiki-e/install-action@v2.44.54 | ||
uses: taiki-e/install-action@v2.47.7 | ||
with: | ||
tool: cross | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].5 | ||
uses: Swatinem/[email protected].7 | ||
with: | ||
key: ${{ matrix.target }} | ||
- name: Setup Ruby | ||
if: matrix.os != 'windows-2022' && !matrix.use-cross | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: 3.2 | ||
ruby-version: 3.3 | ||
- name: Install Asciidoctor | ||
if: matrix.os != 'windows-2022' && !matrix.use-cross | ||
run: | | ||
|
@@ -126,7 +126,7 @@ jobs: | |
needs: | ||
- get-version | ||
- build | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Download artifact | ||
uses: actions/download-artifact@v4 | ||
|
@@ -137,7 +137,7 @@ jobs: | |
sha256sum qrtool-* | tee sha256sums.txt | ||
b2sum qrtool-* | tee b2sums.txt | ||
- name: Release | ||
uses: softprops/action-gh-release@v2.0.8 | ||
uses: softprops/action-gh-release@v2.1.0 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
draft: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,25 +14,75 @@ on: | |
- cron: "0 0 * * 0" | ||
|
||
jobs: | ||
check: | ||
name: Check | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os-alias: | ||
- ubuntu | ||
- macos | ||
- windows | ||
toolchain-alias: | ||
- msrv | ||
- stable | ||
include: | ||
- os-alias: ubuntu | ||
os: ubuntu-24.04 | ||
target: x86_64-unknown-linux-gnu | ||
- os-alias: macos | ||
os: macos-14 | ||
target: aarch64-apple-darwin | ||
- os-alias: windows | ||
os: windows-2022 | ||
target: x86_64-pc-windows-msvc | ||
- toolchain-alias: msrv | ||
toolchain: 1.74.0 | ||
- toolchain-alias: stable | ||
toolchain: stable | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
- name: Setup Rust toolchain | ||
uses: dtolnay/rust-toolchain@v1 | ||
with: | ||
toolchain: ${{ matrix.toolchain }} | ||
targets: ${{ matrix.target }} | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected] | ||
with: | ||
key: ${{ matrix.target }} | ||
- name: Check a package | ||
run: cargo check --target ${{ matrix.target }} | ||
- name: Check a package (no default features) | ||
run: cargo check --target ${{ matrix.target }} --no-default-features | ||
|
||
test: | ||
name: Test | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
target: | ||
- x86_64-unknown-linux-gnu | ||
- aarch64-apple-darwin | ||
- x86_64-pc-windows-msvc | ||
toolchain: | ||
- 1.74.0 # MSRV | ||
os-alias: | ||
- ubuntu | ||
- macos | ||
- windows | ||
toolchain-alias: | ||
- msrv | ||
- stable | ||
include: | ||
- target: x86_64-unknown-linux-gnu | ||
os: ubuntu-22.04 | ||
- target: aarch64-apple-darwin | ||
- os-alias: ubuntu | ||
os: ubuntu-24.04 | ||
target: x86_64-unknown-linux-gnu | ||
- os-alias: macos | ||
os: macos-14 | ||
- target: x86_64-pc-windows-msvc | ||
target: aarch64-apple-darwin | ||
- os-alias: windows | ||
os: windows-2022 | ||
target: x86_64-pc-windows-msvc | ||
- toolchain-alias: msrv | ||
toolchain: 1.74.0 | ||
- toolchain-alias: stable | ||
toolchain: stable | ||
steps: | ||
- name: Set Git to use LF | ||
if: matrix.os == 'windows-2022' | ||
|
@@ -47,7 +97,7 @@ jobs: | |
toolchain: ${{ matrix.toolchain }} | ||
targets: ${{ matrix.target }} | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].5 | ||
uses: Swatinem/[email protected].7 | ||
with: | ||
key: ${{ matrix.target }} | ||
- name: Run tests | ||
|
@@ -57,7 +107,7 @@ jobs: | |
|
||
rustfmt: | ||
name: Rustfmt | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -67,13 +117,13 @@ jobs: | |
toolchain: stable | ||
components: rustfmt | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].5 | ||
uses: Swatinem/[email protected].7 | ||
- name: Check code formatted | ||
run: cargo fmt -- --check | ||
|
||
clippy: | ||
name: Clippy | ||
runs-on: ubuntu-22.04 | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -83,7 +133,7 @@ jobs: | |
toolchain: stable | ||
components: clippy | ||
- name: Cache build artifacts | ||
uses: Swatinem/[email protected].5 | ||
uses: Swatinem/[email protected].7 | ||
- name: Check no lint warnings | ||
run: cargo clippy -- -D warnings | ||
- name: Check no lint warnings (no default features) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.