From f48d86b0c3f826e4f6633e6095665d4f77b4efb1 Mon Sep 17 00:00:00 2001 From: thomasjm Date: Fri, 31 Jul 2026 16:16:44 -0700 Subject: [PATCH] ci: try running against github CI --- .github/workflows/ci.yml | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8459c1c..d83da36 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,15 +5,27 @@ on: pull_request: workflow_dispatch: +permissions: + contents: read + id-token: write + jobs: ci: - runs-on: arc-medium + runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'noci')" steps: - uses: actions/checkout@v5 + - uses: DeterminateSystems/determinate-nix-action@v3 + + - uses: DeterminateSystems/magic-nix-cache-action@main + - name: nix flake check run: nix flake check -L + - name: install setuid fusermount3 + run: sudo apt-get update && sudo apt-get install -y fuse3 + + # Prepend /usr/bin so the setuid system fusermount3 wins over the dev shell's. - name: integration tests (diod + FUSE) - run: nix develop -c bash -c 'export PATH="/run/wrappers/bin:$PATH"; cargo test' + run: nix develop -c bash -c 'export PATH="/usr/bin:$PATH"; cargo test'