Skip to content

Detect and use package manger based on lock file #402

Detect and use package manger based on lock file

Detect and use package manger based on lock file #402

Workflow file for this run

name: golangci-lint
on:
workflow_dispatch:
push:
tags-ignore:
- "*"
branches:
- main
- fix-lint-hints
paths:
- '*.go'
- '**/*.go'
- '.github/workflows/lint.yml'
pull_request:
paths:
- '*.go'
- '**/*.go'
- '.github/workflows/lint.yml'
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest