Something went wrong. Try again.
Nix-based distributed command runner now.dev.br
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536on: push: branches: ["main"] pull_request:
permissions: contents: read
jobs: tests: name: Run now tests runs-on: ubuntu-24.04 steps: - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: persist-credentials: false - name: Install Nix uses: NixOS/nix-installer-action@62c1943b776c509394b550f3f983adc14e9212d6 # v1.0.0 with: add-channel: "true" - name: Set up SSH run: | sudo systemctl start ssh mkdir -p ~/.ssh && chmod 700 ~/.ssh ssh-keygen -qt ed25519 -N "" -f ~/.ssh/id_ed25519 cat ~/.ssh/id_ed25519.pub >> ~/.ssh/authorized_keys chmod 600 ~/.ssh/authorized_keys ssh-keyscan localhost | tee -a ~/.ssh/known_hosts ssh ssh://$USER@localhost true - name: Allow unprivileged user namespaces run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0 - name: Run now run: | export BUILDERS="ssh://$USER@localhost - $HOME/.ssh/id_ed25519 1 1 now now -" nix run . -- run test