Skip to content

Commit

Permalink
chore: unified formatting for all repos (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo authored Nov 2, 2022
1 parent ea86906 commit d3f8710
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions templates/repository/common/.github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Format

on:
pull_request:
push:

jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.19
- run: make format
- name: Indicate formatting issues
run: git diff HEAD --exit-code --color

0 comments on commit d3f8710

Please sign in to comment.