Skip to content

Commit d73b224

Browse files
authored
ci: only trim-paths on release and enable renovate update Cargo.lock (#8722)
chore: init
1 parent 9195f8e commit d73b224

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/reusable-build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,13 @@ jobs:
104104
echo 'codegen-units = 64' >> Cargo.toml
105105
echo 'incremental = false' >> Cargo.toml
106106
107+
- name: Trim paths
108+
shell: bash
109+
run: |
110+
echo $'\n' >> .cargo/config.toml
111+
echo '[unstable]' >> .cargo/config.toml
112+
echo 'trim-paths = true' >> .cargo/config.toml
113+
107114
- name: Check local cache
108115
id: check_cache
109116
if: ${{ inputs.profile == 'debug' && !startsWith(runner.name, 'GitHub Actions') && !inputs.skipable }}

0 commit comments

Comments
 (0)