Skip to content

Bump github/codeql-action from 3.25.10 to 3.25.11 in the ci group #905

Bump github/codeql-action from 3.25.10 to 3.25.11 in the ci group

Bump github/codeql-action from 3.25.10 to 3.25.11 in the ci group #905

Workflow file for this run

name: build
on:
pull_request:
push:
branches:
- main
jobs:
vet:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version-file: 'go.mod'
cache: true
- name: Run vet
run: make tidy fmt vet
- name: Check if working tree is dirty
run: |
if [[ $(git diff --stat) != '' ]]; then
echo "run 'make tidy fmt vet' and commit changes"
exit 1
fi