en/.forgejo/workflows/check.yaml
jutty 90cc3eebee Try to checkout code manually
actions/checkout@v4 requires node, which is beyond me
2025-12-13 18:18:02 -03:00

20 lines
459 B
YAML

on: [push]
jobs:
print-content:
runs-on: docker
container:
image: rust:slim
steps:
- name: checkout code
run: |
apt install git
git clone https://codeberg.org/jutty/en
cd en
- name: formatting
run: cargo fmt -- --check
- name: lints
run: cargo clippy -- -Dwarnings
- name: cargo
run: cargo check --all-targets
- name: test
run: cargo test