name: Test on: push: branches: [main] pull_request: jobs: test: runs-on: bare env: # Same shared toolchain and cache as uhhm/portal's workflows, with # the writable cargo home uhhm/iris uses. CARGO_HOME: /var/local/cargo-target/iris-cargo-home RUSTC_WRAPPER: /usr/bin/sccache RUSTUP_HOME: /var/local/rustup PATH: /var/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/bin SCCACHE_DIR: /var/local/sccache SCCACHE_SERVER_PORT: "4228" CARGO_TARGET_DIR: /var/local/cargo-target steps: - uses: actions/checkout@v4 - name: Test run: cargo test