Skip to content

Pre-commit checks for sigopt/sigopt-server@refs/heads/pixeebot/drip-2024-09-03-pixee-python/sandbox-process-creation #1670

Pre-commit checks for sigopt/sigopt-server@refs/heads/pixeebot/drip-2024-09-03-pixee-python/sandbox-process-creation

Pre-commit checks for sigopt/sigopt-server@refs/heads/pixeebot/drip-2024-09-03-pixee-python/sandbox-process-creation #1670

Workflow file for this run

name: pre-commit checks
permissions: read-all
run-name: Pre-commit checks for ${{ github.repository }}@${{ github.ref }}
on:
push: {}
jobs:
pre-commit:
runs-on: ubuntu-latest
strategy:
matrix:
hook:
- crosshair
- flake8
- hadolint-docker
- mypy
- pylint
- shellcheck
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: pip install pipenv
- run: pipenv install --quiet --deploy --dev
- run: source .env && sudo ./tools/protobuf/install.sh "$PROTOBUF_VERSION"
- run: pipenv run ./tools/protobuf/compile.sh
- run: pipenv run pre-commit run --all-files ${{ matrix.hook }}
- run: git diff
pre-commit-eslint:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- run: pip install pipenv pre-commit
- run: yarn install
- run: pipenv run pre-commit run --all-files eslint
- run: git diff