mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
Fix and refine workflows (#199)
* Fix linter: ansible not found error * Refine codeql: only run on *.go files
This commit is contained in:
parent
b744a63990
commit
e32c651573
4
.github/workflows/codeql-analysis.yml
vendored
4
.github/workflows/codeql-analysis.yml
vendored
@ -3,9 +3,13 @@ name: "CodeQL"
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- "**/*.go"
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [master]
|
||||
paths:
|
||||
- "**/*.go"
|
||||
schedule:
|
||||
- cron: '0 0 * * 1'
|
||||
|
||||
|
3
.github/workflows/linter.yml
vendored
3
.github/workflows/linter.yml
vendored
@ -32,6 +32,7 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
VALIDATE_ANSIBLE: false
|
||||
VALIDATE_BASH: false
|
||||
VALIDATE_DOCKERFILE: false
|
||||
VALIDATE_DOCKERFILE_HADOLINT: false
|
||||
@ -44,4 +45,4 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
version: v1.31
|
||||
args: --config=.github/linters/.golangci.yml
|
||||
args: --config=.github/linters/.golangci.yml
|
||||
|
Loading…
Reference in New Issue
Block a user