Skip to content

Bump docker/build-push-action from 6.9.0 to 6.10.0 #5531

Bump docker/build-push-action from 6.9.0 to 6.10.0

Bump docker/build-push-action from 6.9.0 to 6.10.0 #5531

name: CI Style Checks
on:
# Run on manual trigger
workflow_dispatch:
# Run on pull requests
pull_request:
paths-ignore:
- '*.md'
# Run on merge queue
merge_group:
# Run when pushing to main or dev branches
push:
branches:
- main
- dev*
# Run scheduled CI flow daily
schedule:
- cron: '0 8 * * 0'
jobs:
style:
name: Style Check
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Pre-install
run: |
sudo apt-get update
sudo apt-get -y -q install ffmpeg libavcodec-extra
- name: Install Dependencies
run: |
python -m pip install --upgrade pip setuptools wheel
pip install -q pylint==3.2.6 mypy==1.11.1 pycodestyle==2.12.0 black==24.4.2 ruff==0.5.5
pip install -q -r <(sed '/^numpy/d;/^tensorflow/d;/^keras/d' requirements_test.txt)
pip install numpy==1.22.4
pip install tensorflow==2.13.1
pip install keras==2.13.1
pip list
- name: pycodestyle
run: pycodestyle --ignore=C0330,C0415,E203,E231,W503 --max-line-length=120 art
- name: pylint
if: ${{ always() }}
run: pylint --fail-under=9.67 art/
- name: mypy
if: ${{ always() }}
run: mypy art
- name: ruff
if: ${{ always() }}
run: ruff check art/ tests/ examples/
- name: black
if: ${{ always() }}
run: |
black --line-length 120 --check art/
black --line-length 120 --check tests/
black --line-length 120 --check examples/