Skip to content

Use-golangci-lint-and-fixed-all-current-issues #1

Use-golangci-lint-and-fixed-all-current-issues

Use-golangci-lint-and-fixed-all-current-issues #1

Workflow file for this run

name: golangci-lint
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
pull-requests: read
jobs:
golangci:
name: lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v4
with:
go-version: stable
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
only-new-issues: true