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