Skip to content

Commit 49c98f9

Browse files
authored
ci: add the sweeper in a different job (scaleway#4387)
1 parent 39ba77a commit 49c98f9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/nightly.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,19 @@ jobs:
8686
env:
8787
SLACK_WEBHOOK_NIGHTLY: ${{ secrets.SLACK_WEBHOOK_NIGHTLY }}
8888
FAILED_PRODUCT: ${{ matrix.products }}
89+
90+
sweepers:
91+
runs-on: ubuntu-latest
92+
needs: nightly
93+
if: always()
94+
steps:
95+
# Checkout should always be before setup-go to ensure caching is working
96+
- name: Checkout
97+
uses: actions/checkout@v4
98+
- name: Install Go
99+
uses: actions/setup-go@v5
100+
with:
101+
go-version: 1.22
89102
- name: Run Sweepers
90103
run: go run -v ./cmd/scw-sweeper
91104
env:

0 commit comments

Comments
 (0)