Debian Codegraph @

.github/workflows/gofmt.yml

raw
1 name: Gofmt
2 on:
3 push:
4 pull_request:
5 schedule:
6 # Run every 12 hours, at the 15 minute mark. E.g.
7 # 2020-11-29 00:15:00 UTC, 2020-11-29 12:15:00 UTC, 2020-11-30 00:15:00 UTC
8 - cron: '15 */12 * * *'
9 jobs:
10
11 build:
12 name: Gofmt check
13 runs-on: ubuntu-latest
14 steps:
15
16 - name: Check out code
17 uses: actions/checkout@v2
18
19 - name: Check gofmt
20 uses: Jerome1337/[email protected]
21 with:
22 gofmt-path: './'
23 gofmt-flags: -l -s