Merge branch 'spyder-ide:master' into master #2
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
# Run the project's linting suite via Pre-Commit | |
name: Lint | |
on: # yamllint disable-line rule:truthy | |
push: | |
branches: | |
- master | |
- main | |
- '*.*' | |
- 'staging*' | |
pull_request: | |
branches: | |
- master | |
- main | |
- '*.*' | |
- 'staging*' | |
jobs: | |
lint: | |
name: Lint with Pre-Commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
shell: bash | |
run: ./ci/install.sh | |
- name: List dependencies | |
shell: bash | |
run: pip list | |
- name: Run Pre-Commit hooks | |
uses: pre-commit/action@v3.0.0 |