ci: see if new get ldfs script works
This commit is contained in:
parent
629db239e8
commit
233fc3008e
1 changed files with 8 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue