chore: drop NumPy 1.x support (#93) #115
This file contains hidden or 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
| # SPDX-FileCopyrightText: Contributors to the Power Grid Model project <[email protected]> | |
| # | |
| # SPDX-License-Identifier: MPL-2.0 | |
| name: CI/CD | |
| on: | |
| push: | |
| branches: | |
| - main # run pipeline on pull request | |
| pull_request: | |
| workflow_dispatch: # run this workflow manually from the Actions tab | |
| inputs: | |
| create_release: | |
| type: boolean | |
| description: Create a release (only works on main branch) | |
| default: false | |
| required: true | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }}-ci-build | |
| cancel-in-progress: true | |
| jobs: | |
| ci-started: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: echo "ci started" | |
| build-test-release: | |
| if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }} | |
| name: build-test-release | |
| uses: "./.github/workflows/build-test-release.yml" | |
| permissions: | |
| contents: write | |
| id-token: write # Required for Trusted Publishing | |
| with: | |
| create_release: ${{ inputs.create_release }} | |
| check-code-quality: | |
| uses: "./.github/workflows/check-code-quality.yml" | |
| reuse-compliance: | |
| uses: "./.github/workflows/reuse-compliance.yml" |