Skip to content

Upgrade to up-spec v1.6.0-alpha.3 and Implement uTwin Proto #110

Upgrade to up-spec v1.6.0-alpha.3 and Implement uTwin Proto

Upgrade to up-spec v1.6.0-alpha.3 and Implement uTwin Proto #110

Workflow file for this run

# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.
name: Run Linter
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
python -m pip install ruff
- name: Lint Python Code with Ruff
run: |
ruff check --config .github/ruff.toml
- name: Check Python Code Formatting with Ruff
run: |
ruff format --check --config .github/ruff.toml