Skip to content

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #14

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0

Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 #14

Workflow file for this run

name: Lint
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the main branch
on:
push:
branches: [ main ]
paths:
- '.github/workflows/lint.yml'
- '*.go'
- 'go.*'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/lint.yml'
- '*.go'
- 'go.*'
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "lint"
lint:
# The type of runner that the job will run on
runs-on: ubuntu-latest
timeout-minutes: 15
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/[email protected]