ci: see if new get ldfs script works
Some checks failed
/ check_lfs (push) Successful in 8s
/ check_lfs (pull_request) Successful in 8s
/ lint_fmt (pull_request) Failing after 28s
/ lint_clippy (pull_request) Failing after 27s
/ build (pull_request) Has been skipped

This commit is contained in:
silver 2025-07-21 01:45:29 +01:00
parent 629db239e8
commit 233fc3008e
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -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