Files
thoughts/.gitea/workflows/lint.yml
Gabriel Kaszewski 057f10cb69
Some checks failed
lint / lint (push) Has been cancelled
test / test (push) Has been cancelled
lint / lint (pull_request) Failing after 5m3s
test / test (pull_request) Failing after 18m48s
chore: Dockerfile, README, LICENSE, .env.example, CI workflows (lint/test/deploy)
2026-05-14 15:15:18 +02:00

25 lines
431 B
YAML

name: lint
on:
push:
branches: ["**"]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy
- uses: Swatinem/rust-cache@v2
- name: fmt
run: cargo fmt --all -- --check
- name: clippy
run: cargo clippy --workspace --all-targets -- -D warnings