From d8942542ccdbd121082f54432a4f9fb19b7ad495 Mon Sep 17 00:00:00 2001 From: Ryan Lopopolo Date: Fri, 23 Sep 2022 17:48:56 -0700 Subject: [PATCH] Always update stable rust using rustup --- .github/workflows/ci.yaml | 3 +++ action.yaml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 829685c..2d3f9a9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -69,6 +69,9 @@ jobs: ruby-version: "2.7.6" bundler-cache: true + - name: Update stable rust + run: rustup update stable + - name: Install cargo-about run: bundle exec install-cargo-about --platform "${{ runner.os }}" env: diff --git a/action.yaml b/action.yaml index b67f08c..b9f8e27 100644 --- a/action.yaml +++ b/action.yaml @@ -43,6 +43,10 @@ runs: env: GITHUB_TOKEN: ${{ inputs.github_token }} + - name: Update stable rust + shell: bash + run: rustup update stable + - name: Generate THIRDPARTY shell: bash run: | @@ -50,6 +54,8 @@ runs: --target "${{ inputs.target_triple }}" \ "${{ github.workspace }}/generate-third-party-artichoke-${{ inputs.artichoke_ref }}/Cargo.toml" \ > "${{ inputs.output_file }}" + env: + RUST_TOOLCHAIN: stable - name: Cleanup shell: bash