Skip to content

Commit 1d948b2

Browse files
committed
ci: add formatter
1 parent bc39f3f commit 1d948b2

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

.github/workflows/formatting.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Formatting
2+
3+
on: push
4+
5+
env:
6+
FOUNDRY_PROFILE: ci
7+
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
14+
- name: Install Foundry
15+
uses: foundry-rs/foundry-toolchain@v1
16+
17+
- name: Run Linter
18+
run: forge fmt --check

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: test
1+
name: Test
22

33
on: push
44

0 commit comments

Comments
 (0)