mylloon.fr/.forgejo/workflows/pr-check.yml

24 lines
383 B
YAML
Raw Permalink Normal View History

2024-10-22 11:49:57 +02:00
name: PR Check
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
lint-and-format:
container:
2024-10-22 12:00:13 +02:00
image: cimg/rust:1.81-node
2024-10-22 11:49:57 +02:00
steps:
- name: Checkout
uses: actions/checkout@v4
2024-10-22 12:07:05 +02:00
- name: Build
run: cargo build
2024-10-22 11:49:57 +02:00
- name: Run format check
run: cargo fmt --check
- name: Run Clippy
run: cargo clippy