Skip to content

Add .pre-commit-hooks.yaml to allow be run as a pre-commit hook #141

Add .pre-commit-hooks.yaml to allow be run as a pre-commit hook

Add .pre-commit-hooks.yaml to allow be run as a pre-commit hook #141

Workflow file for this run

on: [push, pull_request]
name: linter
jobs:
lint:
strategy:
matrix:
go-version: [1.x]
platform: [ubuntu-latest]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.50.1