diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 18fc0dd..2047816 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -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: