CI: Update actions to fix nodejs deprecation warnings. #148
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: Python Linting | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Python Linting | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python Deps | |
run: python3 -m pip install ruff | |
- name: Lint Yukon Examples | |
shell: bash | |
run: | | |
python3 -m ruff --show-source --ignore E501 examples/ | |
- name: Lint Yukon Python Libraries | |
shell: bash | |
run: | | |
python3 -m ruff --show-source --ignore E501 lib/ |