--- name: test nix/shell on: push: paths: - '.forgejo/workflows/nix-shell.yaml' - 'develop/bin/nix-develop' - 'shell/**' jobs: nix/shell: runs-on: nixos-latest steps: - name: checkout uses: actions/checkout@v3 - name: run a command within a Nix shell uses: ./shell with: flake: ./shell/test package: "hello" run: | hello - name: no commands should still work uses: ./shell with: flake: ./shell/test package: "hello"