Skip to content

fix(workflow): update conda loading (#736) #1618

fix(workflow): update conda loading (#736)

fix(workflow): update conda loading (#736) #1618

Workflow file for this run

name: ruff
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ruff:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- name: set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff==0.5.1
- name: analyzing the code with ruff
run: |
ruff check .
- name: format the code with ruff
run: |
ruff format .