Compare commits

..

1 commit

Author SHA1 Message Date
9afd3885e2 Forgejo Action: Run npm and cargo commands in the CI.
Some checks failed
Check / Backend (pull_request) Failing after 3m5s
Check / Frontend (pull_request) Successful in 1m57s
2025-09-26 23:09:28 -07:00

View file

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