From 32547d782f734dd3bad0866141bdc6c4449a1797 Mon Sep 17 00:00:00 2001 From: Bendik Aagaard Lynghaug Date: Tue, 22 Sep 2026 17:58:27 +0200 Subject: [PATCH] Lint: run iris from the cargo target dir (the checkout is noexec on this runner) Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01L4jrCgLiKKHAEFuZUJjckH --- .gitea/workflows/lint-and-reload.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/lint-and-reload.yml b/.gitea/workflows/lint-and-reload.yml index ec55fe0..d5a16ee 100644 --- a/.gitea/workflows/lint-and-reload.yml +++ b/.gitea/workflows/lint-and-reload.yml @@ -22,8 +22,11 @@ jobs: env: IRIS_RELEASE: v0.1.1 run: | - curl -sfL "${{ github.server_url }}/uhhm/iris/releases/download/$IRIS_RELEASE/iris" -o iris && chmod +x iris - ./iris check --path questions + # The checkout is on a noexec mount for this runner; the cargo + # target dir is where it may run what it fetched. + bin="/var/local/cargo-target/iris-$IRIS_RELEASE" + [ -x "$bin" ] || { curl -sfL "${{ github.server_url }}/uhhm/iris/releases/download/$IRIS_RELEASE/iris" -o "$bin" && chmod +x "$bin"; } + "$bin" check --path questions reload: runs-on: bare