Merge branch 'master' of github.com:DSD-DBS/Capella-IFE-sample #23
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: Build | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
tags: ["v*.*.*"] | |
workflow_dispatch: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.12" | |
- name: Upgrade pip | |
run: python -m pip install -U pip | |
- name: Install pre-commit | |
run: python -m pip install pre-commit | |
- name: Run Pre-Commit | |
run: pre-commit run --all-files | |
complexity-badge: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: DSD-DBS/py-capellambse/ci-templates/github/model-complexity-badge@master |