Skip to content

Commit d3f8710

Browse files
authored
chore: unified formatting for all repos (#199)
1 parent ea86906 commit d3f8710

File tree

1 file changed

+17
-0
lines changed
  • templates/repository/common/.github/workflows

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Format
2+
3+
on:
4+
pull_request:
5+
push:
6+
7+
jobs:
8+
format:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: actions/setup-go@v3
13+
with:
14+
go-version: 1.19
15+
- run: make format
16+
- name: Indicate formatting issues
17+
run: git diff HEAD --exit-code --color

0 commit comments

Comments
 (0)