Skip to content

fix(deps): update github.com/cilium/hive digest to 51fb911 #77

fix(deps): update github.com/cilium/hive digest to 51fb911

fix(deps): update github.com/cilium/hive digest to 51fb911 #77

Workflow file for this run

name: Lint Go files
on:
pull_request: {}
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
include:
- workdir: cmapisrv-mock
- workdir: egw-scale-utils
steps:
- name: Install Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
# renovate: datasource=golang-version depName=go
go-version: 1.23.1
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: Check module vendoring
working-directory: ${{ matrix.workdir }}
run: |
go mod tidy
go mod vendor
test -z "$(git status --porcelain)" || (echo "please run 'go mod tidy && go mod vendor', and submit your changes"; exit 1)
- name: Run golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
# renovate: datasource=docker depName=golangci/golangci-lint
version: v1.61.0
skip-cache: true
working-directory: ${{ matrix.workdir }}
args: "--out-format colored-line-number --verbose --modules-download-mode=vendor"