docs: Improve the Introduction chapter #8781
Workflow file for this run
This file contains 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: Lint | |
on: | |
pull_request: | |
push: | |
paths-ignore: | |
- '**.md' | |
branches: | |
- main | |
- release/* | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
lint: | |
name: Lint Go code | |
runs-on: ubuntu-latest | |
timeout-minutes: 6 | |
steps: | |
- uses: actions/checkout@v3.4.0 | |
- uses: technote-space/get-diff-action@v6.1.2 | |
with: | |
PATTERNS: | | |
**/*.go | |
**/*.plush | |
go.mod | |
go.sum | |
- uses: actions/setup-go@v4 | |
if: env.GIT_DIFF | |
with: | |
go-version-file: go.mod | |
cache: false | |
- uses: golangci/golangci-lint-action@v3 | |
if: env.GIT_DIFF | |
with: | |
version: v1.54.2 | |
install-mode: goinstall | |
args: --timeout 10m | |
github-token: ${{ secrets.github_token }} |