File tree Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Expand file tree Collapse file tree 1 file changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -4,14 +4,29 @@ on: [ pull_request ]
44
55jobs :
66 compliant :
7- runs-on : ubuntu-latest
7+ runs-on : [ self-hosted, Linux, X64 ]
88 steps :
9- - uses : actions/checkout@v4
9+ - uses : actions/checkout@v3
1010
1111 - name : Check License Header
1212 uses :
apache/skywalking-eyes/[email protected] 13- env :
14- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
1513
16- # - name: Check Spell
17- # uses: crate-ci/typos@master
14+ - name : Check Spell
15+ uses : crate-ci/typos@master
16+
17+ lint :
18+ runs-on : [ self-hosted, Linux, X64 ]
19+ steps :
20+ - uses : actions/checkout@v4
21+ - name : Set up Go
22+ uses : actions/setup-go@v5
23+ with :
24+ go-version : stable
25+ cache : false # don't use cache for self-hosted runners
26+
27+ - name : Golangci Lint
28+ # https://golangci-lint.run/
29+ uses : golangci/golangci-lint-action@v6
30+ with :
31+ version : latest
32+ only-new-issues : true
You can’t perform that action at this time.
0 commit comments