Skip to content

Remove commented-out states #37

Remove commented-out states

Remove commented-out states #37

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions-rs/toolchain@v1
name: Install Rust
with:
profile: minimal
toolchain: stable
override: true
- name: Build
run: RUSTFLAGS="-D warnings" cargo build --verbose --all-targets --all-features
- name: Run tests
run: make test
- name: Build Documentation
run: RUSTDOCFLAGS="-D warnings" cargo doc --no-deps
- name: Run rustfmt
run: cargo fmt -- --check
- name: Run clippy
run: |
cargo clippy --all-targets --all-features -- --deny warnings
RUSTFLAGS='--cfg loom' cargo clippy --all-targets --all-features -- --deny warnings
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc
if: github.ref == 'refs/heads/main'