diff --git a/.github/workflows/autofix.yaml b/.github/workflows/autofix.yaml index 2a66b0ed8..532cdab4e 100644 --- a/.github/workflows/autofix.yaml +++ b/.github/workflows/autofix.yaml @@ -53,14 +53,14 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Project metadata id: project-metadata env: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/metadata.py)" format-python: name: Format Python @@ -80,7 +80,7 @@ jobs: - name: Install Ruff, blacken-docs and autopep8 run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Run autopep8 if: needs.project-metadata.outputs.python_files # Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414 @@ -196,7 +196,7 @@ jobs: - name: Install mdformat run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Install shfmt run: | sudo apt install --yes shfmt diff --git a/.github/workflows/changelog.yaml b/.github/workflows/changelog.yaml index 091ad6855..0b4e279ab 100644 --- a/.github/workflows/changelog.yaml +++ b/.github/workflows/changelog.yaml @@ -43,7 +43,7 @@ jobs: - name: Install bump-my-version run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: ${{ matrix.part }} version bump run: | bump-my-version bump --verbose ${{ matrix.part }} @@ -111,7 +111,7 @@ jobs: - name: Install bump-my-version run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Extract version id: get_version run: | @@ -175,7 +175,7 @@ jobs: - name: Add new changelog entry run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_changelog.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/update_changelog.py)" - name: Version bump run: | bump-my-version bump --verbose patch diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 287533428..78733a821 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -117,7 +117,7 @@ jobs: - name: Generate .mailmap run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/update_mailmap.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/update_mailmap.py)" - uses: peter-evans/create-pull-request@v5.0.2 with: assignees: ${{ github.actor }} @@ -161,14 +161,14 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Project metadata id: project-metadata env: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/metadata.py)" update-deps-graph: name: Update dependency graph @@ -188,7 +188,7 @@ jobs: - name: Install pinned pipdeptree on system run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Install project with Poetry run: | poetry install --only main --no-interaction @@ -245,7 +245,7 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Install project dependencies run: | poetry install --no-interaction @@ -288,7 +288,7 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Install project dependencies # Let sphinx-click access project's code to generate CLI help. run: | diff --git a/.github/workflows/labeller-content-based.yaml b/.github/workflows/labeller-content-based.yaml index 7d6712648..35aae1033 100644 --- a/.github/workflows/labeller-content-based.yaml +++ b/.github/workflows/labeller-content-based.yaml @@ -37,7 +37,7 @@ jobs: - name: Download default rules run: > curl -fsSL --output ./.github/labeller-content-based.yaml - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-content-based.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/labeller-content-based.yaml - name: Extend default rules if: inputs.extra-rules run: | diff --git a/.github/workflows/labeller-file-based.yaml b/.github/workflows/labeller-file-based.yaml index ea8508257..a7b7a23c8 100644 --- a/.github/workflows/labeller-file-based.yaml +++ b/.github/workflows/labeller-file-based.yaml @@ -34,7 +34,7 @@ jobs: - name: Download default rules run: > curl -fsSL --output ./.github/labeller-file-based.yaml - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labeller-file-based.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/labeller-file-based.yaml - name: Extend default rules if: inputs.extra-rules run: | diff --git a/.github/workflows/labels.yaml b/.github/workflows/labels.yaml index 61ce5019d..ed7096a03 100644 --- a/.github/workflows/labels.yaml +++ b/.github/workflows/labels.yaml @@ -31,7 +31,7 @@ jobs: with: skip_delete: true from: | - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels.yaml + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/labels.yaml ${{ inputs.extra-label-files }} ${{ startsWith(github.event.repository.name, 'awesome-') && - 'https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/labels-awesome.yaml' || '' }} + 'https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/labels-awesome.yaml' || '' }} diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 52742f635..de73c5346 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -39,14 +39,14 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Project metadata id: project-metadata env: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/metadata.py)" lint-python-types: needs: @@ -66,7 +66,7 @@ jobs: - name: Install Poetry and Mypy run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Install project with Poetry # Install project with Poetry if supported, so we can benefits from dependencies on typing stubs. if: fromJSON(needs.project-metadata.outputs.is_poetry_project) @@ -100,7 +100,7 @@ jobs: - name: Install yamllint run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Run yamllint run: | yamllint --strict --config-data "{rules: {line-length: {max: 120}}}" --format github . diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 06b9ca47e..b87f2e0ff 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -58,14 +58,14 @@ jobs: - name: Install Poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Project metadata id: project-metadata env: GITHUB_CONTEXT: ${{ toJSON(github) }} run: > python -c "$(curl -fsSL - https://raw.githubusercontent.com/kdeldycke/workflows/main/.github/metadata.py)" + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/.github/metadata.py)" poetry-build: name: "Poetry: build & check package" @@ -89,7 +89,7 @@ jobs: - name: Install poetry, twine and check-wheel-contents run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Build package run: | poetry install --no-interaction @@ -132,7 +132,7 @@ jobs: - name: Install poetry run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Re-install Nuitka in Poetry venv # Nuitka needs to be installed within Poetry's venv to allow for lots of workarounds. # Additional dependencies: @@ -140,7 +140,7 @@ jobs: # - zstandard: for nuitka's onefile compression run: > poetry run python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Nuitka + compilers versions run: | poetry run python -m nuitka --version @@ -185,7 +185,7 @@ jobs: - name: Install bump-my-version run: > python -m pip install --requirement - https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements.txt + https://raw.githubusercontent.com/kdeldycke/workflows/v2.26.0/requirements.txt - name: Check if tag exists id: tag_exists run: | diff --git a/changelog.md b/changelog.md index 460665886..75c72da1c 100644 --- a/changelog.md +++ b/changelog.md @@ -1,10 +1,6 @@ # Changelog -## [2.26.0 (unreleased)](https://github.com/kdeldycke/workflows/compare/v2.25.0...main) - -```{important} -This version is not released yet and is under active development. -``` +## [2.26.0 (2024-01-17)](https://github.com/kdeldycke/workflows/compare/v2.25.0...v2.26.0) - Replace unmaintained `misspell-fixer` by `typos` to autofix typos.