From 9ab1889d57aac0cd7eea018682d6e46629355c64 Mon Sep 17 00:00:00 2001 From: David Ansermino <14164624+ansermino@users.noreply.github.com> Date: Thu, 26 Sep 2024 13:35:33 -0400 Subject: [PATCH] Add lint check --- .github/workflows/build.yml | 0 .github/workflows/lint.yml | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..e69de29 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..6814502 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,22 @@ +name: Lint + +on: + pull_request: + +jobs: + clippy: + runs-on: ubuntu-latest + steps: + - name: Checkout source code + uses: actions/checkout@master + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: nightly + override: true + components: clippy + + - name: Run clippy + run: make lint \ No newline at end of file