Skip to content

Merge pull request #57 from DSD-DBS/new_main_version #453

Merge pull request #57 from DSD-DBS/new_main_version

Merge pull request #57 from DSD-DBS/new_main_version #453

Workflow file for this run

# 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