Compare commits

..

1 commit

Author SHA1 Message Date
e10f0d25c4 Forgejo Action: Run npm and cargo commands in the CI.
All checks were successful
CI / check-backend (pull_request) Successful in 12m45s
CI / check-frontend (pull_request) Successful in 2m14s
2025-09-26 22:51:09 -07:00

View file

@ -1,4 +1,4 @@
name: Check
name: CI
on:
push:
@ -8,26 +8,18 @@ on:
jobs:
check-backend:
name: Backend
runs-on: docker
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:
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
@ -44,11 +36,9 @@ jobs:
working-directory: backend
check-frontend:
name: Frontend
runs-on: docker
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with: