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