23 lines
433 B
YAML
Raw Normal View History

name: lint
on:
pull_request:
branches:
- master
- v3
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: setup-go
2024-12-05 23:55:31 +07:00
uses: actions/setup-go@v5
- name: checkout
uses: actions/checkout@v3
- 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
continue-on-error: true
with:
2024-12-05 23:55:31 +07:00
version: v1.58