Skip to content

Merge pull request #2 from Cloudzero/dependabot/github_actions/anothr… #12

Merge pull request #2 from Cloudzero/dependabot/github_actions/anothr…

Merge pull request #2 from Cloudzero/dependabot/github_actions/anothr… #12

Workflow file for this run

name: GoFmt
on: [push]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Golang
uses: actions/setup-go@v5
with:
go-version: '1.22.x'
cache-dependency-path: go.sum
- name: Check file format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi