Skip to content

Bump the go-dependencies group with 3 updates (#434) #1315

Bump the go-dependencies group with 3 updates (#434)

Bump the go-dependencies group with 3 updates (#434) #1315

Workflow file for this run

---
name: Static analysis
on: # yamllint disable-line rule:truthy
push:
branches:
- main
tags:
- v*
pull_request:
permissions: read-all
jobs:
go-and-crds:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: 1.25.1
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: v2.4.0
args: --config tools/.golangci.yaml
- run: |
set -euo pipefail
make vet
- run: |
set -euo pipefail
make lint
- 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
- run: |
set -euo pipefail
DIFF=$(git status --porcelain)
make generate manifests
if [ -n "$DIFF" ]; then
echo "These files were modified:"
echo
echo "$DIFF"
echo
echo "Please run make generate manifests and commit the changes."
exit 1
fi
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
- name: Run codespell
uses: codespell-project/actions-codespell@v2
with:
skip: '*.svg'
yamllint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v5.0.0
- name: 'Yamllint'
uses: karancode/yamllint-github-action@master