Skip to content

Merge pull request #11 from loft-sh/dependabot/go_modules/github.com/… #43

Merge pull request #11 from loft-sh/dependabot/go_modules/github.com/…

Merge pull request #11 from loft-sh/dependabot/go_modules/github.com/… #43

name: golangci-lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
# Optional: allow read access to pull request. Use with `only-new-issues` option.
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.21
uses: actions/setup-go@v4
with:
go-version: "1.21"
cache: false
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
skip-cache: true
version: v1.54.2
args: --timeout 15m