From 8069cdfb19c15e0767894011c5c588c405cd9409 Mon Sep 17 00:00:00 2001 From: John Lee Date: Wed, 11 Jun 2025 17:10:03 -0400 Subject: [PATCH 1/3] Fix download archive step in upload job --- .github/workflows/ci-nightly.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-nightly.yml b/.github/workflows/ci-nightly.yml index f1c966408e..c310b827f9 100644 --- a/.github/workflows/ci-nightly.yml +++ b/.github/workflows/ci-nightly.yml @@ -409,7 +409,7 @@ jobs: - name: Download workspace archive uses: actions/download-artifact@v4 with: - name: workspace-ubuntu-24.04-${{ github.run_id }} + name: workspace-${{ matrix.platform }}-${{ github.run_id }} path: /tmp/ - name: Extract workspace archive run: | From a5b9dde4e5bfe208264604b005ddc76877d81909 Mon Sep 17 00:00:00 2001 From: John Lee Date: Wed, 11 Jun 2025 17:10:36 -0400 Subject: [PATCH 2/3] Make slack webhook trigger conditional --- .github/workflows/ci-pr.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-pr.yml b/.github/workflows/ci-pr.yml index 61c777bce1..bf78ffe2c9 100644 --- a/.github/workflows/ci-pr.yml +++ b/.github/workflows/ci-pr.yml @@ -10,6 +10,7 @@ env: KMD_NOUSB: True BUILD_TYPE: integration ALGOTEST: 1 + SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} concurrency: group: pr-${{ github.event.pull_request.number || github.ref }} @@ -57,7 +58,7 @@ jobs: path: /tmp/workspace-${{ matrix.platform }}.tar.gz retention-days: 1 - name: Notify Slack on failure - if: failure() + if: failure() && env.SLACK_WEBHOOK != '' uses: slackapi/slack-github-action@v2.1.0 with: webhook: ${{ secrets.SLACK_WEBHOOK }} @@ -122,7 +123,7 @@ jobs: -race -timeout 1h -coverprofile=coverage.txt -covermode=atomic -p 1 \ $PACKAGE_NAMES - name: Notify Slack on failure - if: failure() + if: failure() && env.SLACK_WEBHOOK != '' uses: slackapi/slack-github-action@v2.1.0 with: webhook: ${{ secrets.SLACK_WEBHOOK }} @@ -200,7 +201,7 @@ jobs: TEST_RESULTS=~/test_results/${{ matrix.platform }}_integration/${PARTITION_ID} \ test/scripts/run_integration_tests.sh - name: Notify Slack on failure - if: failure() + if: failure() && env.SLACK_WEBHOOK != '' uses: slackapi/slack-github-action@v2.1.0 with: webhook: ${{ secrets.SLACK_WEBHOOK }} @@ -267,7 +268,7 @@ jobs: TEST_RESULTS=~/test_results/${{ matrix.platform }}_e2e_expect/${PARTITION_ID} \ test/scripts/run_integration_tests.sh - name: Notify Slack on failure - if: failure() + if: failure() && env.SLACK_WEBHOOK != '' uses: slackapi/slack-github-action@v2.1.0 with: webhook: ${{ secrets.SLACK_WEBHOOK }} @@ -331,7 +332,7 @@ jobs: TEST_RESULTS=~/test_results/${{ matrix.platform }}_e2e_subs \ test/scripts/run_integration_tests.sh - name: Notify Slack on failure - if: failure() + if: failure() && env.SLACK_WEBHOOK != '' uses: slackapi/slack-github-action@v2.1.0 with: webhook: ${{ secrets.SLACK_WEBHOOK }} @@ -382,7 +383,7 @@ jobs: TestGoalWithExpect \ TestTealdbgWithExpect - name: Notify Slack on failure - if: failure() + if: failure() && env.SLACK_WEBHOOK != '' uses: slackapi/slack-github-action@v2.1.0 with: webhook: ${{ secrets.SLACK_WEBHOOK }} From fcdad93a91cc877a05c6a151f7f2aa8078c25cd5 Mon Sep 17 00:00:00 2001 From: John Lee Date: Wed, 11 Jun 2025 17:16:08 -0400 Subject: [PATCH 3/3] Update badges to use GitHub Actions Nightly Test --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 9cfac38c50..bd67187970 100644 --- a/README.md +++ b/README.md @@ -2,9 +2,9 @@ # go-algorand | **Branch** | **Build Status** | | --------------- | ---------------- | -| **rel/stable** | [![CircleCI](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fstable.svg?style=svg)](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fstable) | -| **rel/beta** | [![CircleCI](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fbeta.svg?style=svg)](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fbeta) | -| **rel/nightly** | [![CircleCI](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fnightly.svg?style=svg)](https://circleci.com/gh/algorand/go-algorand/tree/rel%2Fnightly) | +| **rel/stable** | [![Nightly Tests](https://github.com/algorand/go-algorand/actions/workflows/ci-nightly.yml/badge.svg?branch=rel%2Fstable)](https://github.com/algorand/go-algorand/actions/workflows/ci-nightly.yml) | +| **rel/beta** | [![Nightly Tests](https://github.com/algorand/go-algorand/actions/workflows/ci-nightly.yml/badge.svg?branch=rel%2Fbeta)](https://github.com/algorand/go-algorand/actions/workflows/ci-nightly.yml) | +| **rel/nightly** | [![Nightly Tests](https://github.com/algorand/go-algorand/actions/workflows/ci-nightly.yml/badge.svg?branch=rel%2Fnightly)](https://github.com/algorand/go-algorand/actions/workflows/ci-nightly.yml) | **Algorand's** official implementation in Go.