Skip to content

Commit 0d07314

Browse files
committed
CI: add CI job for prek/pre-commit checks (common action)
1 parent 96ec317 commit 0d07314

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/rust.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ on:
88
- cron: '0 18 * * *'
99

1010
jobs:
11+
pre_commit:
12+
timeout-minutes: 5
13+
name: prek
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v5
17+
# tools used in pre-commit hooks
18+
- id: cargo-rdme
19+
uses: rusticata/ci-action-rdme@v1
20+
# /tools
21+
- id: prek
22+
uses: rusticata/ci-action-prek@v1
23+
1124
check:
1225
name: Check
1326
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)