remove workflows
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
name: Rust Backend CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
|
||||
steps:
|
||||
# Two sibling directories: `huike-back/` (this repo) and `AuthCore/` — matches root `Cargo.toml` [patch] paths `../AuthCore/...`.
|
||||
- name: Checkout huike-back
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
path: huike-back
|
||||
|
||||
- name: Checkout AuthCore (Cargo path patch)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
repository: alchemy-studio/AuthCore
|
||||
path: AuthCore
|
||||
|
||||
- name: Install system dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libpq-dev pkg-config clang
|
||||
|
||||
- name: Setup Rust toolchain
|
||||
uses: dtolnay/rust-toolchain@stable
|
||||
|
||||
- name: Cache cargo registry and target
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
workspaces: huike-back
|
||||
|
||||
- name: Cargo check workspace
|
||||
working-directory: huike-back
|
||||
run: cargo check --workspace --all-targets
|
||||
Reference in New Issue
Block a user