Skip to content

Bump the all group with 1 update #831

Bump the all group with 1 update

Bump the all group with 1 update #831

Workflow file for this run

name: goclean
on:
push:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
branches:
- main
- release-*
pull_request:
paths:
- '**.go'
- 'go.mod'
- 'go.sum'
branches:
- main
- release-*
schedule:
- cron: '41 20 * * 1'
jobs:
goclean:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3 # check-out repository
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: '1.20.0'
- name: go vet
run: |
# Use in-place vendored dependencies.
go vet -mod=vendor ./...
# If this workflow fails, run `go fmt` on your tree and resubmit.
# We ignore vendor/ files whose format we don't control.
- name: go fmt
run: if [ "$(gofmt -l . | grep -v vendor/ | grep -v third_party/ | wc -l)" -gt 0 ]; then exit 1; fi