diff --git a/.forgejo/workflows/on_pr.yaml b/.forgejo/workflows/on_pr.yaml index 7eb7a7b..dfe36a7 100644 --- a/.forgejo/workflows/on_pr.yaml +++ b/.forgejo/workflows/on_pr.yaml @@ -15,9 +15,10 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3 with: - # We don't actually care about LFS file contents, just their integrity. - lfs: false + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref }} - run: nix build .#fmt --verbose # clippy is incredibly useful for making yer code better @@ -29,9 +30,10 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3 with: - # We don't actually care about LFS file contents, just their integrity. - lfs: false + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref }} - run: nix build .#clippy --verbose build: @@ -41,8 +43,9 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v3 with: - # We don't actually care about LFS file contents, just their integrity. - lfs: false + repository: ${{ gitea.repository }} + ref_name: ${{ gitea.ref }} - name: "Build it locally" - run: nix build --verbose \ No newline at end of file + run: nix build --verbose