remove clone #2
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 | |
on: | |
push: | |
jobs: | |
cargo-assist: | |
name: Cargo assist | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
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 }} | |
# Persist credentials to allow cargo-assist to git commit. | |
# `true` is the default value. | |
persist-credentials: true | |
- name: Install Rust toolchain | |
uses: actions-rust-lang/setup-rust-toolchain@97db979bf844c838b06022f305ca480d01b4d5fe | |
- name: Cargo assist | |
uses: MarcoIeni/cargo-assist@dcc6e09df20675c6351c5b34f94dac66ae29a9ea # v0.1.1 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |