chore: change release commit message #443
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
name: CI | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
workflow_dispatch: | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
ci: | |
name: ${{ matrix.os }} / Stable | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
target: x86_64-unknown-linux-musl | |
- os: windows-latest | |
target: x86_64-pc-windows-msvc | |
- os: macos-latest | |
target: x86_64-apple-darwin | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Setup Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
with: | |
targets: ${{ matrix.target }} | |
components: rustfmt, clippy | |
- name: Install packages (Ubuntu) | |
if: startsWith(matrix.os, 'ubuntu') | |
run: | | |
ci/ubuntu-install-packages | |
- name: cargo fmt | |
run: cargo fmt --all -- --check | |
- name: cargo clippy | |
run: cargo clippy --target ${{ matrix.target }} -- -D warnings | |
- name: Build | |
run: cargo build --target ${{ matrix.target }} | |
- name: Install latest nextest release | |
uses: taiki-e/install-action@nextest | |
- name: Test | |
run: cargo nextest run --target ${{ matrix.target }} |