Skip to content

Multiple changes to interior order of operations (#9) #36

Multiple changes to interior order of operations (#9)

Multiple changes to interior order of operations (#9) #36

Workflow file for this run

name: rustfmt and clippy with annotations
on:
push:
branches:
- "**"
workflow_dispatch:
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1.0.6
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --manifest-path ./phylo/Cargo.toml --all -- --check
clippy_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: rustup component add clippy
- uses: actions-rs/clippy-check@v1.0.7
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --manifest-path ./phylo/Cargo.toml --all-features -- -D warnings