Merge pull request #60 from DSD-DBS/changelog_update #458
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: ["*"] | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: "3.12" | |
- name: Set up virtual environment | |
run: |- | |
python -m venv .venv | |
source .venv/bin/activate | |
- name: Upgrade pip | |
run: |- | |
pip install -U pip | |
- name: Install packages | |
run: |- | |
pip install '.[test]' | |
ls .venv/bin | |
- name: Install pre-commit | |
run: |- | |
pip install pre-commit types-docutils | |
- name: Run Pre-Commit | |
run: |- | |
pre-commit run --all-files |