Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Fix apt-get command in bump.yml, restore workflow summaries #101

Merged
merged 3 commits into from
Dec 3, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ jobs:
- name: "install envsubst"
run: |
sudo apt-get update
sudo apt-get --yes --no-install-recommends gettext
sudo apt-get install --yes --no-install-recommends gettext
- run: |
./scripts/update-versions.sh
- name: "Create Pull Request"
Expand Down
15 changes: 14 additions & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
- "stable"
- "beta"
- "nightly"
name: "Developer build (Rust ${{ matrix.rust }})"
name: "Developer build"
runs-on: "lab"
timeout-minutes: 45
steps:
Expand Down Expand Up @@ -175,3 +175,16 @@ jobs:
timeout-minutes: 60
with:
limit-access-to-actor: true

summary:
name: "Summary"
runs-on: "ubuntu-latest"
needs:
- build
if: ${{ always() && needs.build.result != 'skipped' }}
steps:
- name: "Flag any build matrix failures"
if: ${{ needs.build.result != 'success' }}
run: |
>&2 echo "A critical step failed!"
exit 1
23 changes: 21 additions & 2 deletions .github/workflows/sterile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
rust:
- "stable"
- "nightly"
name: "Sterile test run (Rust ${{ matrix.rust }})"
name: "Sterile test run"
steps:
- name: "login to ghcr.io"
uses: "docker/login-action@v3"
Expand Down Expand Up @@ -180,7 +180,7 @@ jobs:
rust:
- "stable"
- "nightly"
name: "Push containers (Rust ${{ matrix.rust }})"
name: "Push containers"
steps:
- name: "login to ghcr.io"
uses: "docker/login-action@v3"
Expand Down Expand Up @@ -229,3 +229,22 @@ jobs:
timeout-minutes: 60
with:
limit-access-to-actor: true

summary:
name: "Summary"
runs-on: "ubuntu-latest"
needs:
- test
- push
if: ${{ always() && needs.test.result != 'skipped' && needs.push.result != 'skipped' }}
steps:
- name: "Flag any test failures"
if: ${{ needs.test.result != 'success' }}
run: |
>&2 echo "One or more required tests failed"
exit 1
- name: "Flag any push failures"
if: ${{ needs.push.result != 'success' }}
run: |
>&2 echo "One or more required pushes failed"
exit 1
Loading