Go to file
2019-08-22 01:03:25 +02:00
.github/workflows Test every day at 00:00 UTC 2019-08-22 01:03:25 +02:00
lib Await properly for commands to finish 2019-08-15 23:32:28 +02:00
node_modules Track node_modules 2019-08-15 19:37:37 +02:00
src Fix incomplete comment 2019-08-16 03:16:52 +02:00
.gitignore Initial commit 2019-08-15 17:16:59 +00:00
action.yml Fix typo in action.yml 2019-08-16 03:38:53 +02: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 Create integration test 2019-08-15 19:29:30 +02:00
package.json Update package.json 2019-08-16 02:18:21 +02:00
README.md Clean up in general 2019-08-16 02:16:04 +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@master
      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.