Skip to content

🌱 Bump github.com/docker/docker from 26.1.4+incompatible to 27.0.0+incompatible in /test #177

🌱 Bump github.com/docker/docker from 26.1.4+incompatible to 27.0.0+incompatible in /test

🌱 Bump github.com/docker/docker from 26.1.4+incompatible to 27.0.0+incompatible in /test #177

name: PR golangci-lint
on:
pull_request:
types: [opened, edited, synchronize, reopened]
# Remove all permissions from GITHUB_TOKEN except metadata.
permissions: {}
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
working-directory:
- ""
- test
- hack/tools
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # tag=v4.1.6
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # tag=v5.0.1
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # tag=v6.0.1
with:
version: v1.59.0
args: --out-format=colored-line-number
working-directory: ${{matrix.working-directory}}