Migrate from crane back to buildRustPackage
Some checks are pending
Build and Test / Format check (push) Waiting to run
Build and Test / Lint (push) Waiting to run
Build and Test / Test (push) Waiting to run
Build and Test / Check dependency hash (push) Waiting to run
Build and Test / Build (push) Waiting to run

This commit is contained in:
Unknown 2025-03-31 22:13:51 +08:00 committed by GitHub
parent c148dca438
commit e07949378c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 35 additions and 36 deletions

View file

@ -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