From a7c35ac057e84a62b46a336c314add5cfab7497d Mon Sep 17 00:00:00 2001 From: Raul Victor Trombin Date: Fri, 22 Nov 2024 15:57:37 -0300 Subject: [PATCH] github: action: Fix warnings --- .github/workflows/action.yml | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index 89adb6371..b4ab82934 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -7,10 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - uses: actions-rs/toolchain@v1.0.6 - with: - toolchain: stable - override: true + - name: Install Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y + echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Check Type run: cargo fmt -- --check - name: Run internal tests @@ -23,10 +23,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@master - - uses: actions-rs/toolchain@v1.0.6 - with: - toolchain: stable - override: true + - name: Install Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y + echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Build docs run: cargo doc - name: Deploy @@ -94,11 +94,10 @@ jobs: uses: actions/checkout@v2 with: submodules: recursive - - name: Setup Rust toolchain - uses: actions-rs/toolchain@v1.0.7 - with: - toolchain: stable - override: true + - name: Install Rust + run: | + curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain stable -y + echo "$HOME/.cargo/bin" >> $GITHUB_PATH - name: Install cargo-bump run: cargo install cargo-bump --force - name: Modify version with tag