Skip to content

Merge pull request #64 from sunhailin-Leo/dependabot/go_modules/googl… #154

Merge pull request #64 from sunhailin-Leo/dependabot/go_modules/googl…

Merge pull request #64 from sunhailin-Leo/dependabot/go_modules/googl… #154

Workflow file for this run

name: Lint Check
on:
push:
branches:
- main
pull_request:
permissions:
contents: read
pull-requests: read
checks: write
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.21.x
- run: go version
#- run: diff -u <(echo -n) <(gofmt -d .)
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v5
with:
version: v1.56.2
args: --enable=nolintlint,gochecknoinits,bodyclose,gocritic --verbose