Live location tracking and playback for the game "manhunt"

Nvm i hate GH actions

bwc9876.dev 8310a96c 3c128fbd

verified
+4 -56
-52
.github/workflows/ci.yml
··· 1 - name: Flake Check CI 2 - on: 3 - workflow_dispatch: 4 - push: 5 - branches: [main] 6 - paths-ignore: 7 - - ".github/**" 8 - - "*.md" 9 - - justfile 10 - pull_request: 11 - branches: [main] 12 - paths-ignore: 13 - - ".github/**" 14 - - "*.md" 15 - - justfile 16 - jobs: 17 - check-eval: 18 - name: Eval / Get Checks 19 - runs-on: ubuntu-latest 20 - outputs: 21 - matrix: ${{ steps.checks-matrix.outputs.matrix }} 22 - steps: 23 - - name: Checkout 24 - uses: actions/checkout@v4 25 - with: 26 - fetch-depth: 0 27 - ref: ${{ github.head_ref }} 28 - - name: Setup Nix 29 - uses: DeterminateSystems/nix-installer-action@v16 30 - - name: Show Flake 31 - run: nix flake show 32 - - name: Output Checks Matrix 33 - id: checks-matrix 34 - run: | 35 - echo "matrix=$(nix eval --json .#checks.x86_64-linux --apply "c: {check = (builtins.attrNames c);}")" >> $GITHUB_OUTPUT 36 - run-checks: 37 - name: Run Check 38 - needs: check-eval 39 - runs-on: ubuntu-latest 40 - strategy: 41 - matrix: ${{fromJSON(needs.check-eval.outputs.matrix)}} 42 - steps: 43 - - name: Checkout 44 - uses: actions/checkout@v4 45 - with: 46 - fetch-depth: 0 47 - ref: ${{ github.head_ref }} 48 - - name: Setup Nix 49 - uses: DeterminateSystems/nix-installer-action@v16 50 - - name: Run Check ${{matrix.check}} 51 - run: nix build .#checks.x86_64-linux.${{matrix.check}} 52 -
+4 -4
flake.nix
··· 15 15 }; 16 16 17 17 flakelight.builtinFormatters = false; 18 - formatters = { 19 - "*.nix" = "alejandra ."; 20 - "*.{js,ts,jsx,tsx,md,json}" = "prettier --write . --config frontend/.prettierrc.yaml"; 21 - "*.rs" = "cd backend; cargo fmt"; 18 + formatters = pkgs: { 19 + "*.nix" = "${pkgs.alejandra}/bin/alejandra ."; 20 + "*.{js,ts,jsx,tsx,md,json}" = "${pkgs.prettier}/bin/prettier --write . --config frontend/.prettierrc.yaml"; 21 + "*.rs" = "${pkgs.rustfmt}"; 22 22 }; 23 23 24 24 devShell = pkgs: let