Skip to content

Commit

Permalink
Merge branch 'main' into rgv2-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leijin-lw authored Oct 30, 2024
2 parents 1a7724c + ad9e88e commit dba7726
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Test Build

on:
on:
workflow_dispatch:
pull_request:
branches:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
with:
go-version: 1.21.x

- name: Build
- name: Build
id: build
run: |
make prepare
Expand All @@ -69,7 +69,7 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: 1.21.x

- name: Run Integration Tests
id: integration
run: |
Expand Down Expand Up @@ -126,14 +126,14 @@ jobs:

trigger-release:
if: github.ref == 'refs/heads/main'
needs: [run-unit-tests, build] #TODO: Add back run-integration-tests when RGv1 is removed
needs: [run-unit-tests, build, run-integration-tests]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.TOKEN }}

- name: Trigger release
shell: bash
run: |
Expand All @@ -148,7 +148,7 @@ jobs:
name: Slack Notify if Failed Tests
needs: trigger-release
runs-on: ubuntu-latest
if: always()
if: always()
steps:
- name: Notify Slack on Failure
if: ${{ contains(needs.*.result, 'failure') }}
Expand Down

0 comments on commit dba7726

Please sign in to comment.