Skip to content

Commit

Permalink
Merge pull request #30 from artichoke/lopopolo/update-rust-stable
Browse files Browse the repository at this point in the history
Always update stable rust using rustup
  • Loading branch information
lopopolo authored Sep 24, 2022
2 parents 62834ac + d894254 commit 8075bc6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 6 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,19 @@ runs:
env:
GITHUB_TOKEN: ${{ inputs.github_token }}

- name: Update stable rust
shell: bash
run: rustup update stable

- name: Generate THIRDPARTY
shell: bash
run: |
generate-third-party-text-file-single-target \
--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
Expand Down

0 comments on commit 8075bc6

Please sign in to comment.