From 233fc3008e5b8db12ced9648f102a7b97effbe33 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 21 Jul 2025 01:45:29 +0100 Subject: [PATCH] ci: see if new get ldfs script works --- .forgejo/workflows/on_pr.yaml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/on_pr.yaml b/.forgejo/workflows/on_pr.yaml index 055c0b9..4cc5f61 100644 --- a/.forgejo/workflows/on_pr.yaml +++ b/.forgejo/workflows/on_pr.yaml @@ -15,13 +15,10 @@ jobs: steps: # get the repo first - uses: https://code.forgejo.org/actions/checkout@v4 - - name: Checkout lfs - run: | - git lfs install --local - AUTH=$(git config --local http.${{ github.server_url }}/.extraheader) - git config --local --unset http.${{ github.server_url }}/.extraheader - git config --local http.${{ github.server_url }}/${{ github.repository }}.git/info/lfs/objects/batch.extraheader "$AUTH" - git lfs pull + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v7 + with: + server_url: ${{ gitea.server_url }} + repository: ${{ gitea.repository }} - run: nix build .#fmt --verbose # clippy is incredibly useful for making yer code better @@ -33,10 +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 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v7 with: + server_url: ${{ gitea.server_url }} repository: ${{ gitea.repository }} - ref_name: ${{ gitea.ref }} - run: nix build .#clippy --verbose build: @@ -46,9 +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 + - uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v7 with: + server_url: ${{ gitea.server_url }} repository: ${{ gitea.repository }} - ref_name: ${{ gitea.ref }} - name: "Build it locally" run: nix build --verbose