[Feature] New Ocean Legacy BSDF #103
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
# This action lints our codebase | |
name: Eradiate lint | |
on: | |
pull_request | |
jobs: | |
ruff: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Install dependencies | |
# Important: If the version changes, do not forget to sync it with the | |
# pre-commit hook | |
run: | | |
python -m pip install --upgrade pip | |
pip install "ruff==0.6.4" | |
- name: Lint | |
run: ruff check --output-format=github | |
- name: Format | |
if: "!cancelled()" # Run even if lint fails | |
run: ruff format --check |