Skip to content

Merge pull request #6 from Bitshala-Incubator/delcin #7

Merge pull request #6 from Bitshala-Incubator/delcin

Merge pull request #6 from Bitshala-Incubator/delcin #7

Workflow file for this run

on:
push:
branches:
- main
pull_request:
name: lint
jobs:
fmt:
name: rust fmt
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set default toolchain
run: rustup default nightly
- name: Set profile
run: rustup set profile minimal
- name: Add rustfmt
run: rustup component add rustfmt
- name: Add clippy
run: rustup component add clippy
- name: Update toolchain
run: rustup update
- name: Check fmt
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --all-targets --all-features -- -D warnings