Compare commits
1 commit
e10f0d25c4
...
9afd3885e2
| Author | SHA1 | Date | |
|---|---|---|---|
| 9afd3885e2 |
1 changed files with 14 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: CI
|
||||
name: Check
|
||||
|
||||
on:
|
||||
push:
|
||||
|
|
@ -8,18 +8,26 @@ on:
|
|||
|
||||
jobs:
|
||||
check-backend:
|
||||
name: Backend
|
||||
runs-on: docker
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- uses: https://codeberg.org/wackbyte/rust-toolchain@trunk
|
||||
- name: Install Rust
|
||||
uses: https://codeberg.org/wackbyte/rust-toolchain@trunk
|
||||
with:
|
||||
toolchain: stable
|
||||
components: rustfmt, clippy
|
||||
- name: "Check Format"
|
||||
run: cargo fmt --check
|
||||
working-directory: backend
|
||||
- name: "Build"
|
||||
run: |
|
||||
cargo build
|
||||
cargo build --test
|
||||
working-directory: backend
|
||||
- name: "Lint"
|
||||
run: |
|
||||
rustup component add clippy
|
||||
|
|
@ -36,9 +44,11 @@ jobs:
|
|||
working-directory: backend
|
||||
|
||||
check-frontend:
|
||||
name: Frontend
|
||||
runs-on: docker
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Checkout Repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue