Skip to content

Ensure rustfmt check passes #4

Ensure rustfmt check passes

Ensure rustfmt check passes #4

Workflow file for this run

name: Check formatting with rustfmt
run-name: Ensure rustfmt check passes
on: [push]
jobs:
Check-Formatting:
runs-on: ubuntu-latest
steps:
- run: sudo apt-get update && sudo apt-get install -y rustfmt
- name: vpn-types subcrate
run: rustfmt --edition 2021 --check $GITHUB_WORKSPACE/types/src/lib.rs
- name: vpn-operator subcrate
run: rustfmt --edition 2021 --check $GITHUB_WORKSPACE/operator/src/main.rs