mirror of
https://github.com/natsukagami/youmubot.git
synced 2025-04-19 08:48:54 +00:00
Add CI job for checking dependencies
This commit is contained in:
parent
3d8b11d6a6
commit
9bc4a75ad3
1 changed files with 10 additions and 0 deletions
10
.github/workflows/build_test.yml
vendored
10
.github/workflows/build_test.yml
vendored
|
@ -64,6 +64,16 @@ jobs:
|
||||||
run: cargo test
|
run: cargo test
|
||||||
env:
|
env:
|
||||||
SQLX_OFFLINE: "true"
|
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 }}
|
||||||
|
- name: Build dependencies
|
||||||
|
run: nix build .#youmubot.cargoDeps --option substituters "https://cache.nixos.org" --option extra-substituters ""
|
||||||
build:
|
build:
|
||||||
name: Build
|
name: Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Add table
Reference in a new issue