Jupyter notebooks for shwocasing Apps from Models experience #547
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: python lint | |
on: [push] | |
jobs: | |
community-apps-python-lint: | |
runs-on: ubuntu-latest | |
env: | |
PYTHON_VERSION: "" | |
steps: | |
- name: git clone | |
uses: actions/checkout@v4 | |
- name: set Python version | |
run: | | |
export PYTHON_VERSION=$(yq '.language-support.python.version' workflow-configuration.yml) | |
echo "This is the Python version => $PYTHON_VERSION" | |
echo "PYTHON_VERSION=${PYTHON_VERSION}" >> $GITHUB_ENV | |
working-directory: .nextmv/ | |
- name: set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install ruff==0.1.6 | |
- name: lint with ruff | |
run: ruff check --output-format=github . |