2023-03-19 14:26:03 +03:00
|
|
|
name: lint
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- v3
|
|
|
|
jobs:
|
|
|
|
lint:
|
|
|
|
name: lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-03-19 16:11:52 +03:00
|
|
|
- name: setup-go
|
|
|
|
uses: https://gitea.com/actions/setup-go@v3
|
|
|
|
with:
|
|
|
|
go-version: 1.18
|
2023-03-19 16:08:51 +03:00
|
|
|
- name: checkout
|
|
|
|
uses: https://gitea.com/actions/checkout@v3
|
2023-03-19 14:26:03 +03:00
|
|
|
- name: deps
|
|
|
|
run: go get -v -d ./...
|
|
|
|
- name: lint
|
|
|
|
uses: https://github.com/golangci/golangci-lint-action@v3.4.0
|
|
|
|
continue-on-error: true
|
|
|
|
with:
|
2023-03-19 16:17:44 +03:00
|
|
|
version: v1.52
|