From f8de3fc7fb5a26d06cff46da9aaa0fae61461a35 Mon Sep 17 00:00:00 2001 From: Ryan Butler Date: Fri, 23 Feb 2024 01:02:58 -0500 Subject: [PATCH] CI should use cargo fmt and not cargo update --- .github/workflows/build.yml | 3 +-- rustfmt.toml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 rustfmt.toml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d522457..ab8bc11 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -22,8 +22,7 @@ jobs: run: sudo apt-get install -y libasound2-dev portaudio19-dev build-essential libpulse-dev libdbus-1-dev libudev-dev libopenxr-loader1 libopenxr-dev - name: "Checks" run: | - cargo update - #cargo fmt --check + cargo fmt --check --all #cargo clippy --no-deps --tests -- -D warnings #cargo rustdoc -- -D warnings - name: "Build" diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..346dafd --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1 @@ +# Use defaults