2024-03-27 17:48:07 +00:00
|
|
|
name: Lint
|
|
|
|
on:
|
|
|
|
- push
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
name: golangci-lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/setup-go@v4
|
|
|
|
with:
|
2024-03-27 21:13:33 +00:00
|
|
|
go-version: "1.21.1"
|
2024-03-27 17:48:07 +00:00
|
|
|
cache: false
|
|
|
|
|
|
|
|
- name: Check out code
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
|
|
|
- name: Lint
|
|
|
|
uses: golangci/golangci-lint-action@v3
|
|
|
|
with:
|
|
|
|
version: v1.55
|