Files
wasmtime/.github/actions/install-rust
Alex Crichton 7669a96179 Reduce warnings on CI from GitHub Actions (#5083)
* Upgrade our github actions to "node16"

Each github actions run has a lot of warnings about using node12 so this
upgrades our repository to using node16. I'm hoping no other changes are
needed and I suspect other actions we're using are on node12 and will
need further updates, but this should help pin down what's remaining.

* Update `actions/checkout` workflow to `v3`

* Update to `actions/cache@v3`

* Update to `actions/upload-artifact@v3`

* Drop usage of `actions-rs/toolchain`

* Update to `actions/setup-python@v4`

* Update mdbook version
2022-10-20 23:11:38 -05:00
..
2021-05-21 10:54:37 -05:00

install-rust

A small github action to install rustup and a Rust toolchain. This is generally expressed inline, but it was repeated enough in this repository it seemed worthwhile to extract.

Some gotchas:

  • Can't --self-update on Windows due to permission errors (a bug in Github Actions)
  • rustup isn't installed on macOS (a bug in Github Actions)

When the above are fixed we should delete this action and just use this inline:

- run: rustup update $toolchain && rustup default $toolchain
  shell: bash