Skip to content

Ruff pyupgrade

Ruff pyupgrade #638

Workflow file for this run

name: Code Style
on: [pull_request]
jobs:
formatting:
name: CMake
runs-on: "ubuntu-latest"
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo pip install cmake-format
- name: Clang Format
run: ./script/clang-format --check
- name: CMake Format
run: |
find . -name 'CMakeLists.txt' -o -name '*.cmake' > cmake-src
xargs cmake-format --check < cmake-src
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: ["3.12"]

Check failure on line 29 in .github/workflows/style.yml

View workflow run for this annotation

GitHub Actions / Code Style

Invalid workflow file

The workflow is not valid. .github/workflows/style.yml (Line: 29, Col: 25): A sequence was not expected
- name: Run ruff
run: |
pip install ruff
ruff check
ruff format --check