feat: checkout fumi as a sibling dir in CI to match the local path dependency
Some checks failed
macOS / check (push) Failing after 43s
Some checks failed
macOS / check (push) Failing after 43s
This commit is contained in:
parent
69fd6d58e7
commit
5d68f3e245
1 changed files with 10 additions and 0 deletions
|
|
@ -11,6 +11,15 @@ jobs:
|
||||||
runs-on: macos-arm64
|
runs-on: macos-arm64
|
||||||
steps:
|
steps:
|
||||||
- uses: https://code.forgejo.org/actions/checkout@v4
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
with:
|
||||||
|
path: carrier
|
||||||
|
# Cargo.toml depends on fumi-core via a relative sibling path
|
||||||
|
# (../fumi/core), matching how it's checked out locally. Fetched as
|
||||||
|
# its own sibling checkout here so that path resolves the same way.
|
||||||
|
- uses: https://code.forgejo.org/actions/checkout@v4
|
||||||
|
with:
|
||||||
|
repository: randogoth/fumi
|
||||||
|
path: fumi
|
||||||
# Forgejo auto-injects GITHUB_TOKEN (GH Actions compatibility), scoped
|
# Forgejo auto-injects GITHUB_TOKEN (GH Actions compatibility), scoped
|
||||||
# to this Forgejo instance. Nix auto-detects that env var and assumes
|
# to this Forgejo instance. Nix auto-detects that env var and assumes
|
||||||
# it's a github.com credential, so it sends it to api.github.com when
|
# it's a github.com credential, so it sends it to api.github.com when
|
||||||
|
|
@ -18,5 +27,6 @@ jobs:
|
||||||
# Clearing it here falls back to unauthenticated (fine for public
|
# Clearing it here falls back to unauthenticated (fine for public
|
||||||
# nixpkgs fetches, same as this succeeds locally with no token set).
|
# nixpkgs fetches, same as this succeeds locally with no token set).
|
||||||
- run: devbox run check
|
- run: devbox run check
|
||||||
|
working-directory: carrier
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ""
|
GITHUB_TOKEN: ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue