From ec2cb2f903ef712e91378be500e65f8d3be48034 Mon Sep 17 00:00:00 2001 From: Caolan McMahon Date: Fri, 21 Apr 2023 09:55:01 +0100 Subject: [PATCH] Replace install rust step in workflow The previous step used actions-rs which relies upon deprecated Node.js 12 actions. See: https://github.com/actions-rs/toolchain/issues/219 --- .github/workflows/main.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6e8800c..e2cc6eb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,12 +16,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v3 - - name: Install rust with rustfmt and clippy - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - components: rustfmt, clippy + - name: Install rust (stable) + run: curl https://sh.rustup.rs -sSf | sh -s -- -y - name: Install Deno uses: denoland/setup-deno@v1