Use ruff instead of black and use new ruff config syntax #132
Workflow file for this run
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
# SPDX-FileCopyrightText: 2023 Alliander | |
# | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Build & CI | |
concurrency: | |
# means: only one run with this name (the workflow name) can run in parallel. | |
# An in progress job will carry on, but old pending jobs will be replaced by the new one. | |
group: ${{ github.workflow }} | |
on: | |
push: | |
tags-ignore: # Only on branches, not tags | |
- "*" | |
branches: | |
- "*" | |
- "!main" # Negative pattern must be last | |
permissions: | |
id-token: write | |
contents: read | |
packages: read | |
jobs: | |
build: | |
uses: ./.github/workflows/_core.yaml | |
with: | |
deploy: false | |
secrets: | |
PYCGMES_PYPI_TOKEN: ${{ secrets.PYCGMES_PYPI_TOKEN }} |