Skip to content

chore(deps): update docker/build-push-action action to v6.11.0 #118

chore(deps): update docker/build-push-action action to v6.11.0

chore(deps): update docker/build-push-action action to v6.11.0 #118

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@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
# renovate: datasource=golang-version depName=go
go-version: 1.23.4
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
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@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
# renovate: datasource=docker depName=golangci/golangci-lint
version: v1.63.4
skip-cache: true
working-directory: ${{ matrix.workdir }}
args: "--out-format colored-line-number --verbose --modules-download-mode=vendor"