From 28c582fbdc5719dfc2233a7c549fd6085ed682fa Mon Sep 17 00:00:00 2001 From: Aayush Date: Mon, 15 Jul 2024 11:27:20 -0700 Subject: [PATCH] ensure to install rust --- envoyfilter/.github/workflows/checks.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/envoyfilter/.github/workflows/checks.yml b/envoyfilter/.github/workflows/checks.yml index 45b49adb..361ce090 100644 --- a/envoyfilter/.github/workflows/checks.yml +++ b/envoyfilter/.github/workflows/checks.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Setup | Checkout uses: actions/checkout@v4 + - name: Setup | Rust + run: rustup toolchain install stable --profile minimal - name: Run Check run: cargo check --lib --bins --examples --all-features @@ -20,6 +22,8 @@ jobs: steps: - name: Setup | Checkout uses: actions/checkout@v4 + - name: Setup | Rust + run: rustup toolchain install stable --profile minimal - name: Run Clippy run: cargo clippy --all-targets --all-features @@ -30,5 +34,9 @@ jobs: steps: - name: Setup | Checkout uses: actions/checkout@v4 + - name: Setup | Rust + run: rustup toolchain install stable --profile minimal + - name: Setup | Install Rustfmt + run: rustup component add rustfmt - name: Run Rustfmt run: cargo fmt --all -- --check \ No newline at end of file