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
|
2024-12-05 23:55:31 +07:00
|
|
|
uses: actions/setup-go@v5
|
2023-03-19 16:08:51 +03:00
|
|
|
- name: checkout
|
2024-02-29 23:23:51 +03:00
|
|
|
uses: actions/checkout@v3
|
2023-03-19 14:26:03 +03:00
|
|
|
- name: deps
|
|
|
|
run: go get -v -d ./...
|
|
|
|
- name: lint
|
2024-12-05 23:55:31 +07:00
|
|
|
uses: https://github.com/golangci/golangci-lint-action@v6
|
2023-03-19 14:26:03 +03:00
|
|
|
continue-on-error: true
|
|
|
|
with:
|
2024-12-05 23:55:31 +07:00
|
|
|
version: v1.58
|