From afab2bed1c65645acbbab427777a1f7473beb1d4 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 21 Jul 2025 01:26:40 +0100 Subject: [PATCH] ci: see if using the ref directly will help --- .forgejo/workflows/on_pr.yaml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) 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