ci: update teh actions to take into account git-lfs
Some checks failed
On_Push / lint_fmt (push) Failing after 1m40s
On_Push / lint_clippy (push) Failing after 10s
On_Push / build (push) Has been skipped
On_Push / deploy (push) Has been skipped

This commit is contained in:
silver 2024-11-23 22:24:29 +00:00
parent 37ea38f516
commit f00db7ef5d
Signed by: silver
GPG key ID: 36F93D61BAD3FD7D

View file

@ -19,6 +19,10 @@ jobs:
steps: steps:
# get the repo first # get the repo first
- uses: https://code.forgejo.org/actions/checkout@v4 - uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v6
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
- run: nix build .#fmt --verbose - run: nix build .#fmt --verbose
# clippy is incredibly useful for making yer code better # clippy is incredibly useful for making yer code better
@ -30,6 +34,10 @@ jobs:
steps: steps:
# get the repo first # get the repo first
- uses: https://code.forgejo.org/actions/checkout@v4 - uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v6
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
- run: nix build .#clippy --verbose - run: nix build .#clippy --verbose
build: build:
@ -39,6 +47,10 @@ jobs:
steps: steps:
# get the repo first # get the repo first
- uses: https://code.forgejo.org/actions/checkout@v4 - uses: https://code.forgejo.org/actions/checkout@v4
- uses: https://forgejo.skynet.ie/Skynet/actions/get_lfs@v6
with:
repository: ${{ gitea.repository }}
ref_name: ${{ gitea.ref_name }}
- name: "Build it locally" - name: "Build it locally"
run: nix build --verbose run: nix build --verbose
@ -49,7 +61,7 @@ jobs:
needs: [ build ] needs: [ build ]
steps: steps:
- name: "Deploy to Skynet" - name: "Deploy to Skynet"
uses: https://forgejo.skynet.ie/Skynet/actions-deploy-to-skynet@v2 uses: https://forgejo.skynet.ie/Skynet/actions/deploy@v3
with: with:
input: 'skynet_discord_bot' input: 'skynet_discord_bot'
token: ${{ secrets.API_TOKEN_FORGEJO }} token: ${{ secrets.API_TOKEN_FORGEJO }}