Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/common-reqstool-verify.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Verify (reqstool)

# The reqstool gate shared by every repo: install reqstool from PyPI and from
# reqstool-client@main, then run `reqstool status` over the caller's checkout
# plus the build/ output (junit, coverage, annotations) produced by the build
# workflow. Replaces the identical tail of each repo's inline build job.

on:
workflow_call:
Expand Down Expand Up @@ -50,14 +46,10 @@ jobs:
name: ${{ inputs.build-artifact }}
path: ${{ inputs.build-directory }}

# Composite actions of this repo are addressed by full path and pinned to a
# released SHA like any other caller (`./` would resolve against the caller's
# workspace); Renovate bumps them with every other reqstool/.github pin.
- uses: reqstool/.github/.github/actions/install-reqstool@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1
with:
reqstool-source: ${{ matrix.reqstool-source }}

# Not yet in the latest PyPI release; supplementary to the status gate.
- if: matrix.reqstool-source == 'main'
uses: reqstool/.github/.github/actions/validate-reqstool@6fc8d3e3d4c3fdf7a83cb7b7a274e4761486ca71 # 1.2.1
with:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/java-build-gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
working-directory: ${{ inputs.working-directory }}
steps:
# Full history and tags: the version is derived from git state by
# git-dyn-semver, so a shallow clone would build the wrong number rather than fail.
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
Expand Down Expand Up @@ -112,7 +111,6 @@ jobs:
${{ inputs.working-directory }}/build/libs/*.jar
if-no-files-found: ignore

# build/ output (test reports, annotations, reqstool zip) for the reqstool verify job.
- uses: actions/upload-artifact@v7.0.2
with:
name: ${{ inputs.artifact-name }}-build
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/java-build-maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
# Full history and tags: the version is derived from git state by
# Nisse, so a shallow clone would build the wrong number rather than fail.
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
Expand Down Expand Up @@ -113,7 +111,6 @@ jobs:
${{ inputs.working-directory }}/target/*.pom
if-no-files-found: ignore

# target/ output (test reports, annotations, reqstool zip) for the reqstool verify job.
- uses: actions/upload-artifact@v7.0.2
with:
name: ${{ inputs.artifact-name }}-build
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/java-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
# Version derivation (Nisse / git-dyn-semver) reads git state.
fetch-depth: 0
fetch-tags: true

Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/java-smoke.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Smoke (Java, any OS)

# Runs a caller-supplied command (e.g. `mvn -B verify`, `./gradlew build`) on a
# matrix of operating systems against the caller's checkout, so path, line-ending
# and locale bugs that Linux cannot show surface. Java projects have no
# installable wheel equivalent, so the build itself is the smoke.

on:
workflow_call:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/python-build-hatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ jobs:
# renovate: datasource=pypi depName=hatch
- run: pip install hatch==1.18.2

# Build first: e2e tests of plugins install the wheel/sdist from dist/.
- run: hatch build

- run: hatch run dev:pytest
Expand Down Expand Up @@ -105,7 +104,6 @@ jobs:
# renovate: datasource=pypi depName=hatch
- run: pip install hatch==1.18.2

# Build before the tests: e2e tests of plugins install the wheel/sdist from dist/.
- name: Build
run: hatch build

Expand Down Expand Up @@ -134,7 +132,6 @@ jobs:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.working-directory }}/dist/

# build/ output (junit, coverage, annotations) for the reqstool verify job.
- uses: actions/upload-artifact@v7.0.2
with:
name: ${{ inputs.artifact-name }}-build
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/python-build-poetry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ jobs:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.working-directory }}/dist/

# build/ output (junit, coverage, annotations) for the reqstool verify job.
- uses: actions/upload-artifact@v7.0.2
with:
name: ${{ inputs.artifact-name }}-build
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/python-smoke.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
name: Smoke (Python wheel, any OS)

# Installs the wheel produced by the Linux build job on a matrix of operating
# systems and runs a caller-supplied command against the caller's checkout.
# Deliberately does not use hatch: the point is to exercise the *installed*
# package the way a user gets it, and to keep hatch off Windows.

on:
workflow_call:
Expand Down Expand Up @@ -67,8 +63,6 @@ jobs:
env:
REQUIREMENTS: ${{ inputs.requirements }}
run: |
# Run from a directory without the source tree on sys.path is not
# needed: src-layout projects do not shadow the installed wheel.
# shellcheck disable=SC2086
pip install dist/*.whl $REQUIREMENTS

Expand Down
8 changes: 0 additions & 8 deletions .github/workflows/typescript-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ jobs:

- run: npm ci

# The command is `eval`ed by design -- callers supply their own installer
# line. Read from the environment rather than interpolated into the script
# body so the value cannot terminate the surrounding shell construct.
- name: Install dependency
if: ${{ inputs.dependency-version != '' && inputs.dependency-install-command != '' }}
env:
Expand All @@ -122,8 +119,6 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
# Full history and tags: the release flow derives the version from git state,
# so a shallow clone would build the wrong number rather than fail.
- uses: actions/checkout@v7.0.1
with:
persist-credentials: false
Expand Down Expand Up @@ -156,8 +151,6 @@ jobs:
CMD="${INSTALL_COMMAND/\{version\}/$DEP_VERSION}"
eval "$CMD"

# Built before the tests so a post-test command (e2e against dist/,
# self-applied tags) can use the build output.
- run: npm run build

- name: Run tests
Expand Down Expand Up @@ -197,7 +190,6 @@ jobs:
name: ${{ inputs.artifact-name }}
path: ${{ inputs.working-directory }}/dist/

# build/ output (junit, coverage, annotations) for the reqstool verify job.
- uses: actions/upload-artifact@v7.0.2
with:
name: ${{ inputs.artifact-name }}-build
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/typescript-smoke.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Smoke (TypeScript, any OS)

# Runs a caller-supplied command (e.g. `npm test`) on a matrix of operating
# systems against the caller's checkout, so path, line-ending and encoding bugs
# that Linux cannot show surface.

on:
workflow_call:
Expand Down
Loading