Skip to content

fix prisma/prisma#23902 #1553

fix prisma/prisma#23902

fix prisma/prisma#23902 #1553

name: "All crates: compilation"
on:
pull_request:
paths-ignore:
- "!.github/workflows/test-compilation.yml"
- ".github/**"
- ".buildkite/**"
- "*.md"
- "LICENSE"
- "CODEOWNERS"
- "renovate.json"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test-crate-compilation:
name: "Check release compilation"
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: "cargo clean && cargo build --release -p schema-engine-cli"
name: "Compile Migration Engine"
- run: "cargo clean && cargo build --release -p prisma-fmt"
name: "Compile prisma-fmt"
- run: "cargo clean && cargo build --release -p query-engine"
name: "Compile Query Engine Binary"
- run: "cargo clean && cargo build --release -p query-engine-node-api"
name: "Compile Query Engine Library"
- name: "Check that Cargo.lock did not change"
run: "git diff --exit-code"