Skip to content

chore: maintain go mod and docs #52

chore: maintain go mod and docs

chore: maintain go mod and docs #52

Workflow file for this run

name: Pull Request Check
on: [ pull_request ]
jobs:
compliant:
runs-on: [ self-hosted, X64 ]
steps:
- uses: actions/checkout@v3
- name: Check License Header
uses: apache/skywalking-eyes/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: typos-action
uses: crate-ci/typos@master
resolve-modules:
name: resolve module
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Set execute permission for resolve-modules.sh
run: chmod +x ./hack/resolve-modules.sh
- id: set-matrix
run: ./hack/resolve-modules.sh
lint:
name: lint module
runs-on: ubuntu-latest
needs: resolve-modules
strategy:
matrix: ${{ fromJson(needs.resolve-modules.outputs.matrix) }}
steps:
- uses: actions/checkout@v3
- name: Lint
uses: golangci/golangci-lint-action@v3
with:
version: latest
working-directory: ${{ matrix.workdir }}
args: -E gofumpt --timeout 10m
skip-pkg-cache: true