diff --git a/.github/workflows/build_test.yml b/.github/workflows/build_test.yml index f21d898..a8265e1 100644 --- a/.github/workflows/build_test.yml +++ b/.github/workflows/build_test.yml @@ -64,6 +64,16 @@ 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 }} + - name: Build dependencies + run: nix build .#youmubot.cargoDeps --option substituters "https://cache.nixos.org" --option extra-substituters "" build: name: Build runs-on: ubuntu-latest