Skip to content

fix(deps): update all go dependencies #97

fix(deps): update all go dependencies

fix(deps): update all go dependencies #97

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.2
- name: Checkout code
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
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.61.0
skip-cache: true
working-directory: ${{ matrix.workdir }}
args: "--out-format colored-line-number --verbose --modules-download-mode=vendor"