mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
Chore: update golangci-lint & workflow (#704)
This commit is contained in:
parent
bcbb96657c
commit
4fb792fbd6
6
.github/workflows/linter.yml
vendored
6
.github/workflows/linter.yml
vendored
@ -7,10 +7,12 @@ on:
|
|||||||
- v*
|
- v*
|
||||||
paths:
|
paths:
|
||||||
- "**/*.go"
|
- "**/*.go"
|
||||||
|
- ".github/workflows/linter.yml"
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [opened, synchronize, reopened]
|
types: [opened, synchronize, reopened]
|
||||||
paths:
|
paths:
|
||||||
- "**/*.go"
|
- "**/*.go"
|
||||||
|
- ".github/workflows/linter.yml"
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
@ -25,8 +27,8 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: golangci-lint
|
- name: golangci-lint
|
||||||
uses: golangci/golangci-lint-action@v2.4.0
|
uses: golangci/golangci-lint-action@v2.5.1
|
||||||
with:
|
with:
|
||||||
version: v1.31
|
version: latest
|
||||||
args: --config=.github/linters/.golangci.yml
|
args: --config=.github/linters/.golangci.yml
|
||||||
only-new-issues: true
|
only-new-issues: true
|
||||||
|
Loading…
Reference in New Issue
Block a user