From 37375f5d47c3821b7adb08019c76350a3f5d397c Mon Sep 17 00:00:00 2001 From: Vaibhav Date: Fri, 26 Apr 2024 17:09:35 +0530 Subject: [PATCH] chore: testing rust toolchain on gh actions --- .github/workflows/check-code.yml | 6 ++++++ .github/workflows/vendor/rust-check-code.yml | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/.github/workflows/check-code.yml b/.github/workflows/check-code.yml index 6370fd92..99fd8490 100644 --- a/.github/workflows/check-code.yml +++ b/.github/workflows/check-code.yml @@ -13,5 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + components: rustfmt, clippy - name: Run check code run: make check-code diff --git a/.github/workflows/vendor/rust-check-code.yml b/.github/workflows/vendor/rust-check-code.yml index 6370fd92..99fd8490 100644 --- a/.github/workflows/vendor/rust-check-code.yml +++ b/.github/workflows/vendor/rust-check-code.yml @@ -13,5 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + - name: Install Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + components: rustfmt, clippy - name: Run check code run: make check-code