Skip to content

Add rust-toolchain.toml and rustfmt.toml #1

Add rust-toolchain.toml and rustfmt.toml

Add rust-toolchain.toml and rustfmt.toml #1

Workflow file for this run

name: Rust
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
env:
CARGO_TERM_COLOR: always
jobs:
fmt:
name: Format
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check
run: bash contrib/scripts/check-fmt.sh check
check-crate:
name: Check crate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Check
run: bash contrib/scripts/check-crate.sh