Skip to content

Try 14

Try 14 #470

Workflow file for this run

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 .