Skip to content

Bump version to 0.2.1 #28

Bump version to 0.2.1

Bump version to 0.2.1 #28

name: Tests and checks
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
test-linux:
name: Run tests on linux (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.1
- name: Compile
run: cargo check
- name: Run tests
run: cargo test -- --nocapture
test-macos:
name: Run tests on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.1
- name: Compile
run: cargo check
- name: Run tests
run: cargo test -- --nocapture
check-linux:
name: Run checks on linux (ubuntu)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.1
components: clippy, rustfmt
- name: Check formatting
run: cargo fmt -- --check
- name: Lint
run: cargo clippy -- -D warnings
check-macos:
name: Run checks on MacOS
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Setup rust toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.80.1
components: clippy, rustfmt
- name: Check formatting
run: cargo fmt -- --check
- name: Lint
run: cargo clippy -- -D warnings