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