mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-20 17:28:54 +00:00
Separate dependency build to new job
This commit is contained in:
parent
bea8db2536
commit
d29b759fc4
1 changed files with 14 additions and 0 deletions
14
.github/workflows/build_test.yml
vendored
14
.github/workflows/build_test.yml
vendored
|
@ -64,6 +64,20 @@ jobs:
|
|||
run: cargo test
|
||||
env:
|
||||
SQLX_OFFLINE: "true"
|
||||
checkDeps:
|
||||
name: Check dependency hash
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: cachix/install-nix-action@v27
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: cachix/cachix-action@v15
|
||||
with:
|
||||
name: natsukagami
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Build dependencies
|
||||
run: nix build --option substitute false --option sandbox true --option eval-cache false .#youmubot.cargoDeps
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Add table
Reference in a new issue