Skip to content

Merge pull request #80 from striezel-stash/actions-checkout-update #42

Merge pull request #80 from striezel-stash/actions-checkout-update

Merge pull request #80 from striezel-stash/actions-checkout-update #42

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
rust: ["stable", "beta", "nightly", "1.34.0"]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Install rust
run: |
rustup install ${{matrix.rust}}
rustup default ${{matrix.rust}}
- name: Test debug
run: cargo test --verbose
- name: Test release
run: cargo test --verbose --release
rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install rust
run: |
rustup install stable
rustup default stable
rustup component add rustfmt
- run: cargo fmt --all -- --check
doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cargo doc