Skip to content

🎨 Use github errors instead of fmt.Errorf #14

🎨 Use github errors instead of fmt.Errorf

🎨 Use github errors instead of fmt.Errorf #14

Workflow file for this run

# this is copied over from goreleaser/goreleaser/.github/workflows/lint.yml
name: golangci-lint
on:
push:
tags:
- v*
branches:
- main
pull_request:
permissions:
contents: read
jobs:
golangci:
permissions:
contents: read
pull-requests: read
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- run: git fetch --force --tags
- uses: actions/setup-go@v3
with:
go-version: '>=1.19.5'
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.1.0
with:
args: --timeout=5m