Go to file
2019-10-27 01:14:57 -04:00
.github Check targets in integration test 2019-09-18 17:40:33 +02:00
lib added selection of new rustup profile minimal introduced with rustup 2019-10-15 10:50:49 +02:00
node_modules Track node_modules 2019-08-15 19:37:37 +02:00
src update rustup as part of install step 2019-10-27 01:14:57 -04:00
.gitignore Initial commit 2019-08-15 17:16:59 +00:00
action.yml add support for adding rustup targets 2019-09-19 00:08:24 +09:00
jest.config.js Initial commit 2019-08-15 17:16:59 +00:00
LICENSE Update README and perform some cleanup 2019-08-16 01:43:28 +02:00
package-lock.json add support for adding rustup targets 2019-09-19 00:08:24 +09:00
package.json Update package.json 2019-08-16 02:18:21 +02:00
README.md Update README 2019-09-04 13:26:22 +02:00
tsconfig.json Initial commit 2019-08-15 17:16:59 +00:00

setup-rust-action

Integration status

Sets up a specific Rust toolchain for use in your GitHub Actions workflows.

Usage

Provide a rust-version with the desired toolchain version to install.

You can combine it with matrix to test different Rust toolchains in different platforms!

name: Test Rust project
on: [push]
jobs:
  test:
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macOS-latest]
        rust: [stable, nightly]

    steps:
    - uses: hecrj/setup-rust-action@v1
      with:
        rust-version: ${{ matrix.rust }}
    - uses: actions/checkout@master
    - name: Run tests
      run: cargo test --verbose

For more details, check out action.yml.

Contributing / Feedback

Contributions and feedback are welcome! Feel free to open any issues or pull requests.