ci: see if using the ref directly will help
This commit is contained in:
parent
65dd9a9d1a
commit
afab2bed1c
1 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue