mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
ci: pr suggest
This commit is contained in:
parent
ec965a9eb7
commit
5e52cecd71
4
.github/workflows/golint.yml
vendored
4
.github/workflows/golint.yml
vendored
@ -1,6 +1,6 @@
|
|||||||
name: CI
|
name: Lint
|
||||||
|
|
||||||
on: [push, pull_request]
|
on: [push]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
golangci:
|
golangci:
|
||||||
|
20
.github/workflows/suggester.yml
vendored
Normal file
20
.github/workflows/suggester.yml
vendored
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
name: Lint
|
||||||
|
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
golangci:
|
||||||
|
name: lint
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: golangci-lint
|
||||||
|
uses: golangci/golangci-lint-action@v2
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
|
||||||
|
- name: Suggester
|
||||||
|
uses: reviewdog/action-suggester@v1
|
||||||
|
with:
|
||||||
|
tool_name: golangci-lint
|
Loading…
x
Reference in New Issue
Block a user