improve pipelines

This commit is contained in:
sfja 2026-03-30 10:43:41 +02:00
parent 4fe57058d2
commit 578738ca85
4 changed files with 19 additions and 3 deletions

View File

@ -3,11 +3,13 @@ name: Backend
on:
push:
branches: [ "main" ]
paths: [ "backend/**" ]
pull_request:
branches: [ "main" ]
jobs:
verify:
check:
name: Check
runs-on: ubuntu-latest
container: sfja/h5-mst-ci:backend-ci
steps:

View File

@ -3,11 +3,15 @@ name: Game
on:
push:
branches: [ "main" ]
paths: [ "game/**" ]
pull_request:
branches: [ "main" ]
jobs:
verify:
check:
name: Check
needs: [lint, build_and_test]
lint:
runs-on: ubuntu-latest
container: sfja/h5-mst-ci:game-ci
steps:
@ -20,6 +24,12 @@ jobs:
working-directory: ./game
continue-on-error: true
run: cargo clippy
build_and_test:
runs-on: ubuntu-latest
container: sfja/h5-mst-ci:game-ci
steps:
- uses: actions/checkout@v6
- run: rustup default stable
- name: Build
working-directory: ./game
run: cargo build

View File

@ -3,11 +3,13 @@ name: Skateboard
on:
push:
branches: [ "main" ]
paths: [ "skateboard/**" ]
pull_request:
branches: [ "main" ]
jobs:
verify:
check:
name: Check
runs-on: ubuntu-latest
container: espressif/idf:release-v5.5
steps:

View File

@ -1,7 +1,9 @@
# Skate project
![backend workflow](https://github.com/Mercantec-GHC/h5-projekt-mst/actions/workflows/backend.yml/badge.svg)
![game workflow](https://github.com/Mercantec-GHC/h5-projekt-mst/actions/workflows/game.yml/badge.svg)
![skateboard workflow](https://github.com/Mercantec-GHC/h5-projekt-mst/actions/workflows/skateboard.yml/badge.svg)
- [Notion - H5](https://mercantec.notion.site/h5-2026)