Compare commits

..

No commits in common. "52f8b313f47b55e8de570b89894729e547b5d131" and "e231352009c21886772b8f039d3e51ba0aeb7616" have entirely different histories.

2 changed files with 27 additions and 12 deletions

View file

@ -1,4 +1,4 @@
name: Rust CI
name: CI
on:
push:
@ -7,17 +7,32 @@ on:
branches: [master]
jobs:
rust_ci:
name: Rust CI
build:
name: Rust build
runs-on: debian
steps:
- uses: actions/checkout@v4
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.70
- name: Build the source code
run: cargo build
- name: Check the code format
run: cargo fmt -- --check
- name: Run cargo-check
run: cargo check
- name: Run cargo-clippy
run: cargo clippy -- -D warnings
- run: cargo build
rustfmt:
name: Rust format
runs-on: debian
steps:
- uses: actions/checkout@v4
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.70
- run: cargo fmt -- --check
check:
name: Rust check
runs-on: debian
steps:
- uses: actions/checkout@v4
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.70
- run: cargo check
clippy:
name: Rust clippy
runs-on: debian
steps:
- uses: actions/checkout@v4
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.70
- run: cargo clippy -- -D warnings

View file

@ -54,4 +54,4 @@ types_allowed = ["feat", "fix", "docs", "refactor", "change", "deprecate", "remo
# Rule: Header must match regex pattern.
# Example: '^JIRA-\d+:'.
header_pattern = '^\w+(\(\w+\))?(!)?: \w'
header_pattern = '^\w+(\s\(\w+\))?(!)?: \w'