Add CI check

Mira Kovac 9 months ago
parent 7f64bfae88 commit 7651927ff77dd35df10b61701fd8c611186d6295
1 changed files with 13 additions and 0 deletions
+13-0.gitea/workflows/check.yml ADDED
@@ -0,0 +1,13 @@
1+name: check
2+on:
3+ push:
4+ branches: [main]
5+ pull_request:
6+
7+jobs:
8+ check:
9+ runs-on: ubuntu-latest
10+ steps:
11+ - uses: actions/checkout@v4
12+ - uses: dtolnay/rust-toolchain@stable
13+ - run: for d in lessons/*/; do (cd "$d" && cargo check -q); done