fix: Change CCM config to request less resources #44
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
# Copyright DB InfraGO AG and contributors | |
# SPDX-License-Identifier: CC0-1.0 | |
name: lint | |
on: | |
push: | |
branches: ['**'] | |
tags: ['v*.*.*'] | |
pull_request: | |
branches: [main] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v4 | |
with: | |
package_json_file: 'frontend/package.json' | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
- uses: actions/setup-python@v5 | |
with: | |
cache: pip | |
cache-dependency-path: ./pyproject.toml | |
python-version: '3.12' | |
- name: Install pre-commit | |
run: |- | |
python -m pip install pre-commit | |
- name: Install dependencies | |
run: |- | |
python -m pip install '.[dev]' | |
- name: Install dependencies (frontend) | |
working-directory: frontend/ | |
run: |- | |
pnpm install | |
- name: Run pre-commit | |
run: |- | |
pre-commit run --all-files | |
- name: Print changed files | |
if: failure() | |
run: |- | |
git add . && git status -vv |