Skip to content

Commit

Permalink
add formatter action
Browse files Browse the repository at this point in the history
  • Loading branch information
NiclasvanEyk authored Jul 1, 2023
1 parent 8135d48 commit c0feeff
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Format

on:
pull_request:
branches: [main]

jobs:
format:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
fetch-depth: 0

- name: Format code
uses: iamnotaturtle/auto-gofmt@v1.0

0 comments on commit c0feeff

Please sign in to comment.