Skip to content

Proper version names #19

Proper version names

Proper version names #19

Workflow file for this run

name: Lint
on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/lint-go.yml"
- "pkg/**"
- "cmd/**"
- "dev/**"
- "go.mod"
- "go.sum"
- "tools.go"
- ".golangci.yaml"
permissions:
contents: read
jobs:
lint-go:
name: Lint-Go
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
args: --timeout=5m --config .golangci.yaml
- run: go install github.com/segmentio/golines
- name: golines
uses: nickcharlton/diff-check@main
with:
command: dev/lint-golines