Files
rust-learning/.gitea/workflows/test-and-lint.yaml
2026-12-02 19:03:16 +01:00

32 lines
644 B
YAML

name: Test and Lint
on:
push:
branches:
- main
- "attempt/*"
pull_request:
branches:
- main
jobs:
quality:
runs-on: fedora
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build container image
run: make image
- name: Check formatting (rustfmt)
run: make fmt-check
- name: Check compilation and clippy
run: make check-all && make clippy-all
- name: Run test suite progress report (attempt branches)
if: startsWith(github.ref, 'refs/heads/attempt/')
continue-on-error: true
run: make test-all