Skip to content

Updates for Rust 1.74.0 #130

Updates for Rust 1.74.0

Updates for Rust 1.74.0 #130

Workflow file for this run

name: pliron
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Build
run: RUSTFLAGS="-D warnings" cargo build --verbose
tests:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Run tests
run: cargo test --verbose
clippy:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Clippy
run: cargo clippy -- -D warnings
format:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Code format
run: cargo fmt --check
docs:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- name: Documentation
run: RUSTDOCFLAGS="-D warnings" cargo doc