Merge pull request #393 from zmap/dependabot/github_actions/Jerome133… #3355
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Gofmt | |
on: | |
push: | |
pull_request: | |
schedule: | |
# Run every 12 hours, at the 15 minute mark. E.g. | |
# 2020-11-29 00:15:00 UTC, 2020-11-29 12:15:00 UTC, 2020-11-30 00:15:00 UTC | |
- cron: '15 */12 * * *' | |
jobs: | |
build: | |
name: Gofmt check | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- name: Check gofmt | |
uses: Jerome1337/[email protected] | |
with: | |
gofmt-path: './' | |
gofmt-flags: -l -s |