Skip to content

Update to NDC Spec v0.2.0-rc.1 (#38) #171

Update to NDC Spec v0.2.0-rc.1 (#38)

Update to NDC Spec v0.2.0-rc.1 (#38) #171

Workflow file for this run

name: format
on:
push:
jobs:
cargo-fmt:
name: check formatting with cargo fmt
runs-on: ubuntu-latest
env:
CARGO_NET_GIT_FETCH_WITH_CLI: "true"
RUSTFLAGS: "-D warnings" # fail on warnings
steps:
- uses: actions/checkout@v4
- name: install Rust tools
run: |
rustup show
- name: check formatting
run: |
cargo fmt --all --check
nixpkgs-fmt:
name: nixpkgs-fmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install Nix
uses: cachix/install-nix-action@V27
- name: check formatting
run: |
nix develop --command nixpkgs-fmt --check .
prettier:
name: prettier
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: install Nix
uses: cachix/install-nix-action@V27
- name: check formatting
run: |
nix develop --command prettier --check .