Skip to content

Update golangci/golangci-lint-action action to v5 #112

Update golangci/golangci-lint-action action to v5

Update golangci/golangci-lint-action action to v5 #112

Workflow file for this run

# SPDX-FileCopyrightText: 2023 Steffen Vogel <post@steffenvogel.de>
# SPDX-License-Identifier: Apache-2.0
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-workflow.json
---
name: Linting
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
check-latest: true
- name: Install dependencies
run: sudo apt-get install -y
libpcsclite-dev
- name: golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: v1.54.1
args: --timeout=10m