Skip to content

Commit bd36784

Browse files
committed
CI: Add rustfmt --check job (JOSS ariostas)
1 parent ec37e61 commit bd36784

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/Github.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@ name: Github
33
on: [push, pull_request]
44

55
jobs:
6+
fmt:
7+
name: Rustfmt
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- name: Install rustfmt
12+
run: rustup component add rustfmt
13+
- name: Check formatting
14+
run: cargo fmt --all --check
15+
616
default:
717
name: Default features
818
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)