on: [push]
jobs:
  test:
    runs-on: nix
    steps:
      - uses: actions/checkout@v4
      - run: cat /nix/store/cscv53kqarckmbz6729ngmyxg3y53n9c-push-to-cache.sh
      - run: |
          nix run github:NixOS/nixpkgs#curl -- -X 'POST' \
            'https://git.aciceri.dev/api/v1/repos/aciceri/emacs/pulls' \
            -H 'accept: application/json' \
            -H "authorization: Basic $GITHUB_TOKEN" \
            -H 'Content-Type: application/json' \
            -d '{
              "assignee": "aciceri",
              "base": "master",
              "body": "ciao",
              "title": "ciao",
              "head": "aciceri/forgejo"
            }'
      # - run: nix-fast-build --no-nom