Skip to content

build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 #1344

build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0

build(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 #1344

---
name: Static analysis
on: [push, pull_request]
permissions: read-all
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@0a35821d5c230e903fcfe077583637dea1b27b47 # v9.0.0
with:
version: v2.5.0
args: --config tools/.golangci.yaml
- run: |
set -euo pipefail
make verify
- run: |
set -euo pipefail
make fmt
DIFF=$(git status --porcelain)
if [ -n "$DIFF" ]; then
echo "These files were modified:"
echo
echo "$DIFF"
echo
exit 1
fi