Go to file
dependabot[bot] 316da3a924
Bump node-fetch from 2.6.1 to 2.6.7
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-06-25 07:10:01 +00:00
.github Fix cargo-fmt problem matcher 2020-01-21 18:16:04 +01:00
dist Update dependencies 2020-10-06 14:31:06 +02:00
src correct lang 2020-01-05 20:40:14 -05:00
.gitignore Initial commit 2019-08-15 17:16:59 +00:00
action.yml prefer ncc for packaging 2020-01-05 20:55:39 -05:00
LICENSE Update README and perform some cleanup 2019-08-16 01:43:28 +02:00
package-lock.json Bump node-fetch from 2.6.1 to 2.6.7 2022-06-25 07:10:01 +00:00
package.json Update dependencies 2020-10-06 14:31:06 +02:00
README.md Replace "Required" column with "Optional" in README 2020-10-06 14:37:41 +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

Inputs

The following inputs can be provided with the jobs.<job_id>.steps.with yaml key.

Name Optional Description Type Default
rust-version ✔️ The toolchain name, such as stable, nightly, or 1.8.0 String stable
components ✔️ The toolchain components to install String, comma-separated
targets ✔️ The toolchain targets to add String, comma-separated

For more details, check out action.yml.

Problem Matchers

This action registers the following problem matchers to surface relevant information inline with changeset diffs.

  • cargo-common matches common cases of errors and warnings
  • cargo-test matches cargo test errors
  • cargo-fmt matches rust format errors

To disable any or all of these you can use the remove-matcher directive documented here.

Contributing / Feedback

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