wip #1165
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Cargo Assist | |
permissions: | |
contents: write | |
on: | |
push: | |
jobs: | |
cargo-assist: | |
name: Cargo assist | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
# use CARGO_ASSIST_TOKEN if available. | |
# In forks it's not available, so use the default GITHUB_TOKEN. | |
token: ${{ secrets.CARGO_ASSIST_TOKEN || secrets.GITHUB_TOKEN }} | |
- name: Install Rust toolchain | |
uses: dtolnay/rust-toolchain@stable | |
- uses: Swatinem/rust-cache@v2 | |
- name: Cargo assist | |
uses: MarcoIeni/cargo-assist@main | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |