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