mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-10-06 02:48:25 +00:00
Add cargo bin to PATH for self-hosted runners
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
3755f6fd8a
commit
4a63650fe3
1 changed files with 6 additions and 0 deletions
6
.github/workflows/rust.yml
vendored
6
.github/workflows/rust.yml
vendored
|
|
@ -36,6 +36,8 @@ jobs:
|
|||
name: Format
|
||||
runs-on: self-hosted
|
||||
steps:
|
||||
- name: Add cargo bin to PATH
|
||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
|
@ -49,6 +51,8 @@ jobs:
|
|||
RUSTC_WRAPPER: sccache
|
||||
SCCACHE_DIR: /home/bhelmkamp/.cache/sccache
|
||||
steps:
|
||||
- name: Add cargo bin to PATH
|
||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
|
@ -65,6 +69,8 @@ jobs:
|
|||
SCCACHE_DIR: /home/bhelmkamp/.cache/sccache
|
||||
CARGO_INCREMENTAL: "1"
|
||||
steps:
|
||||
- name: Add cargo bin to PATH
|
||||
run: echo "$HOME/.cargo/bin" >> $GITHUB_PATH
|
||||
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue