2022-05-15 05:03:22 -07:00
|
|
|
name: gofmt
|
2022-05-15 04:58:00 -07:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
jobs:
|
2022-05-15 05:53:20 -07:00
|
|
|
format:
|
2022-05-15 04:58:00 -07:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2022-05-15 05:03:22 -07:00
|
|
|
- name: Check code formatting using gofmt
|
|
|
|
uses: Jerome1337/gofmt-action@v1.0.4
|
2022-05-15 05:07:29 -07:00
|
|
|
with:
|
2022-05-15 05:10:12 -07:00
|
|
|
gofmt-flags: '-l -d'
|