1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/.github/workflows/linter.yml
dependabot[bot] 348e668bed
Bump golangci/golangci-lint-action from v2 to v2.2.1 (#306)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2 to v2.2.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...54a84d46fb7183443c869b1b7d0dc34f640fcfd7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 15:23:58 +08:00

33 lines
667 B
YAML

name: Linter
on:
push:
branches: [master]
paths:
- "**/*.go"
pull_request:
branches: [master]
types: [opened, synchronize, reopened]
paths:
- "**/*.go"
jobs:
lint:
if: github.repository != 'v2ray/v2ray-core'
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.15
- name: Checkout codebase
uses: actions/checkout@v2
- name: golangci-lint
uses: golangci/golangci-lint-action@v2.2.1
with:
version: v1.31
args: --config=.github/linters/.golangci.yml
only-new-issues: true