Add missing limitations entry to changelog #423
Workflow file for this run
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: Test | |
on: | |
# Allow running this workflow manually from the Actions tab | |
workflow_dispatch: | |
pull_request: | |
push: | |
# Run weekly on the default branch to make sure it always builds with the latest rust release | |
schedule: | |
- cron: '30 5 * * 1' | |
jobs: | |
test-matrix: | |
strategy: | |
fail-fast: false | |
matrix: | |
include: | |
- target: x86_64-unknown-linux-gnu | |
os: ubuntu-latest | |
- target: aarch64-unknown-linux-gnu | |
os: [self-hosted, linux, arm64] | |
- target: x86_64-apple-darwin | |
os: macos-latest | |
- target: aarch64-apple-darwin | |
os: [self-hosted, macos, arm64] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install Rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: stable | |
target: ${{ matrix.target }} | |
profile: minimal | |
- name: Test Stable | |
run: cargo test | |
- name: Test Oldstable | |
run: | | |
oldstable=$(cat Cargo.toml | grep rust-version | sed 's/.*"\(.*\)".*/\1/') | |
rustup toolchain install --profile minimal $oldstable | |
rustup default $oldstable | |
cargo test | |
- name: Clippy | |
run: | | |
rustup component add clippy | |
cargo clippy | |
- name : Rustfmt | |
run: | | |
rustup toolchain install nightly -c rustfmt | |
cargo +nightly fmt -- --check |