chore: add more ci checks #184
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Pull Request Check | |
| on: [ pull_request ] | |
| jobs: | |
| compliant: | |
| runs-on: [ self-hosted, Linux, X64 ] | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Check License Header | |
| uses: apache/skywalking-eyes/[email protected] | |
| - name: Check Spell | |
| uses: crate-ci/typos@master | |
| lint: | |
| runs-on: [ self-hosted, Linux, X64 ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: stable | |
| cache: false # don't use cache for self-hosted runners | |
| - name: Golangci Lint | |
| # https://golangci-lint.run/ | |
| uses: golangci/golangci-lint-action@v6 | |
| with: | |
| version: latest | |
| only-new-issues: true |