Skip to content

Commit aab64e7

Browse files
committed
fix(ci): remove act tests for release and release-preview workflows
act does not propagate with: inputs into nested workflow_call, causing false failures. release-preview also uses curl which is absent from the micro image. Both are validated by actionlint; end-to-end testing happens in the per-repo migration PRs. Signed-off-by: Jimisola Laursen <jimisola@jimisola.com>
1 parent 0b5041a commit aab64e7

1 file changed

Lines changed: 5 additions & 51 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -121,54 +121,8 @@ jobs:
121121
fi
122122
echo "Fixture '${{ matrix.fixture }}': exit $ACT_EXIT — PASS"
123123
124-
test-release-dry-run:
125-
name: Test — common/release (dry-run)
126-
needs: lint
127-
runs-on: ubuntu-latest
128-
steps:
129-
- uses: actions/checkout@v4
130-
with:
131-
fetch-depth: 0
132-
133-
- name: Install act
134-
run: |
135-
VERSION="0.2.74"
136-
curl -fsSL \
137-
"https://github.com/nektos/act/releases/download/v${VERSION}/act_Linux_x86_64.tar.gz" \
138-
| tar -xz act
139-
sudo mv act /usr/local/bin/
140-
mkdir -p ~/.config/act
141-
echo "-P ubuntu-latest=node:20-bullseye-slim" > ~/.config/act/actrc
142-
143-
- name: Run release dry-run (semver)
144-
run: |
145-
act workflow_call \
146-
-W tests/common/release.yml \
147-
--no-cache-server \
148-
-q
149-
150-
test-release-preview:
151-
name: Test — common/release-preview
152-
needs: lint
153-
runs-on: ubuntu-latest
154-
steps:
155-
- uses: actions/checkout@v4
156-
with:
157-
fetch-depth: 0
158-
159-
- name: Install act
160-
run: |
161-
VERSION="0.2.74"
162-
curl -fsSL \
163-
"https://github.com/nektos/act/releases/download/v${VERSION}/act_Linux_x86_64.tar.gz" \
164-
| tar -xz act
165-
sudo mv act /usr/local/bin/
166-
mkdir -p ~/.config/act
167-
echo "-P ubuntu-latest=node:20-bullseye-slim" > ~/.config/act/actrc
168-
169-
- name: Run release-preview
170-
run: |
171-
act workflow_call \
172-
-W tests/common/release-preview.yml \
173-
--no-cache-server \
174-
-q
124+
# tests/common/release.yml and tests/common/release-preview.yml are validated
125+
# by actionlint above. act-based execution is skipped here because act does not
126+
# propagate with: inputs into nested workflow_call, and release-preview requires
127+
# curl which is absent from the micro image. Both workflows are exercised
128+
# end-to-end in the per-repo migration PRs.

0 commit comments

Comments
 (0)