chore(vscode): exclude build artifacts and deps from file watcher #1538
Workflow file for this run
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: Lint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.10.6" | |
| # For shfmt pre-commit hook | |
| - name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version: "^1.14" | |
| - name: Install pre-commit | |
| run: pip install -U pre-commit | |
| - name: Lint | |
| run: pre-commit run --color=always --all-files | |
| env: | |
| GO111MODULE: on |