Compare commits
No commits in common. "52f8b313f47b55e8de570b89894729e547b5d131" and "e231352009c21886772b8f039d3e51ba0aeb7616" have entirely different histories.
52f8b313f4
...
e231352009
2 changed files with 27 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: Rust CI
|
name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -7,17 +7,32 @@ on:
|
||||||
branches: [master]
|
branches: [master]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
rust_ci:
|
build:
|
||||||
name: Rust CI
|
name: Rust build
|
||||||
runs-on: debian
|
runs-on: debian
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.70
|
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.70
|
||||||
- name: Build the source code
|
- run: cargo build
|
||||||
run: cargo build
|
rustfmt:
|
||||||
- name: Check the code format
|
name: Rust format
|
||||||
run: cargo fmt -- --check
|
runs-on: debian
|
||||||
- name: Run cargo-check
|
steps:
|
||||||
run: cargo check
|
- uses: actions/checkout@v4
|
||||||
- name: Run cargo-clippy
|
- uses: https://codeberg.org/TheAwiteb/rust-action@v1.70
|
||||||
run: cargo clippy -- -D warnings
|
- 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
|
||||||
|
|
||||||
|
|
|
@ -54,4 +54,4 @@ types_allowed = ["feat", "fix", "docs", "refactor", "change", "deprecate", "remo
|
||||||
|
|
||||||
# Rule: Header must match regex pattern.
|
# Rule: Header must match regex pattern.
|
||||||
# Example: '^JIRA-\d+:'.
|
# Example: '^JIRA-\d+:'.
|
||||||
header_pattern = '^\w+(\(\w+\))?(!)?: \w'
|
header_pattern = '^\w+(\s\(\w+\))?(!)?: \w'
|
||||||
|
|
Loading…
Reference in a new issue