Skip to content

Bump version

Bump version #446

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build_and_test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
- os: ubuntu-latest
target: x86_64-unknown-linux-musl
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
steps:
- name: install musl tools
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
sudo apt-get update
sudo apt-get install -y musl musl-dev musl-tools
- uses: actions/checkout@v3
name: checkout
with:
fetch-depth: 1
- uses: dtolnay/rust-toolchain@stable
with:
target: ${{ matrix.target }}
- run: cargo test --target ${{ matrix.target }} --verbose
if: ${{ matrix.target != 'aarch64-apple-darwin' }}
name: test stable
- uses: dtolnay/rust-toolchain@nightly
with:
target: ${{ matrix.target }}
components: clippy, rustfmt
- run: cargo clippy --target ${{ matrix.target }} -q
name: clippy
- run: cargo fmt -q
name: fmt
- name: test nightly
run: cargo test --target ${{ matrix.target }} --verbose
if: ${{ matrix.target != 'aarch64-apple-darwin' }}