ci: see if using the ref directly will help
Some checks failed
/ check_lfs (push) Successful in 6s
/ check_lfs (pull_request) Successful in 6s
/ lint_fmt (pull_request) Failing after 8s
/ lint_clippy (pull_request) Failing after 7s
/ build (pull_request) Has been skipped

This commit is contained in:
silver 2025-07-21 01:26:40 +01:00
parent 65dd9a9d1a
commit afab2bed1c
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -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
run: nix build --verbose