Skip to content

Small change

Small change #6

# Copyright 2022-2024 Universität Tübingen, DKFZ and EMBL
# for the German Human Genome-Phenome Archive (GHGA)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Check if pyproject.toml file is up to date
on: push
jobs:
build-cache:
uses: ./.github/workflows/prepare_build_cache.yaml
with:
cache-key: ${{ github.sha }}
static-code-analysis:
name: Check pyproject file
needs: build-cache
runs-on: ubuntu-latest
steps:
- name: Restore cache
id: restore-cache
uses: actions/cache@v4
with:
path: ${{ needs.build-cache.outputs.python-location }}
key: ${{ github.sha }}
- name: Check pyproject.toml
id: check-pyproject
run: |
./scripts/update_pyproject.py --check