Skip to content

Avoid CI post job cleanup errors#427

Merged
jayvdb merged 1 commit intoElectron100:masterfrom
jayvdb:nested-target-error
Nov 14, 2025
Merged

Avoid CI post job cleanup errors#427
jayvdb merged 1 commit intoElectron100:masterfrom
jayvdb:nested-target-error

Conversation

@jayvdb
Copy link
Collaborator

@jayvdb jayvdb commented Nov 14, 2025

CI on main , eg. https://github.com/Electron100/butane/actions/runs/19359759236 , includes 14 errors similar to

[build (ubuntu-latest)](https://github.com/Electron100/butane/actions/runs/19359759236/job/55388672515#step:49:59)
Error: ENOENT: no such file or directory, opendir '/home/runner/work/butane/butane/target/tests/target'

https://github.com/actions-rust-lang/setup-rust-toolchain uses https://github.com/Swatinem/rust-cache , and very likely our CI is resulting two caching cleanups, so we can avoid one of those.

It is a bit strange that this PR fixes it, as the docs of rust-cache says this is the default

    # default: ". -> target"
    workspaces: ""

But explicitly adding that setting fixes it, as seen at https://github.com/Electron100/butane/actions/runs/19376713401?pr=427

No code change, not controversial.

@jayvdb jayvdb marked this pull request as ready for review November 14, 2025 20:41
@jayvdb jayvdb merged commit 1b07d17 into Electron100:master Nov 14, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant