|
25 | 25 | if: ${{ github.actor != 'dependabot[bot]' }} |
26 | 26 | steps: |
27 | 27 | - uses: actions/checkout@v4 |
| 28 | + - run: ./.github/workflows/scripts/free-disk-space.sh |
28 | 29 | - uses: actions/setup-go@v5 |
29 | 30 | with: |
30 | 31 | go-version: "1.24.9" |
|
45 | 46 | - name: Install Tools |
46 | 47 | if: steps.go-cache.outputs.cache-hit != 'true' |
47 | 48 | run: make install-tools |
| 49 | + - run: ./.github/workflows/scripts/check-disk-space.sh |
48 | 50 | check-collector-module-version: |
49 | 51 | runs-on: ubuntu-latest |
50 | 52 | needs: [setup-environment] |
|
82 | 84 | needs: [setup-environment] |
83 | 85 | steps: |
84 | 86 | - uses: actions/checkout@v4 |
| 87 | + - run: ./.github/workflows/scripts/free-disk-space.sh |
85 | 88 | - uses: actions/setup-go@v5 |
86 | 89 | with: |
87 | 90 | go-version: "1.24.9" |
@@ -109,6 +112,7 @@ jobs: |
109 | 112 | key: go-lint-build-${{ matrix.group }}-${{ runner.os }}-${{ hashFiles('**/go.sum') }} |
110 | 113 | - name: Lint |
111 | 114 | run: GOOS=${{ matrix.goos }} GOARCH=amd64 make -j2 golint GROUP=${{ matrix.group }} |
| 115 | + - run: ./.github/workflows/scripts/check-disk-space.sh |
112 | 116 | lint: |
113 | 117 | if: ${{ github.actor != 'dependabot[bot]' && always() }} |
114 | 118 | runs-on: ubuntu-latest |
@@ -301,6 +305,7 @@ jobs: |
301 | 305 | with: |
302 | 306 | name: coverage-artifacts-${{ matrix.go-version }}-${{ matrix.runner }}-${{ matrix.group }} |
303 | 307 | path: ${{ matrix.group }}-coverage.txt |
| 308 | + - run: ./.github/workflows/scripts/check-disk-space.sh |
304 | 309 | unittest: |
305 | 310 | if: ${{ github.actor != 'dependabot[bot]' && always() }} |
306 | 311 | runs-on: ubuntu-latest |
@@ -450,9 +455,11 @@ jobs: |
450 | 455 | needs: [setup-environment] |
451 | 456 | steps: |
452 | 457 | - uses: actions/checkout@v4 |
| 458 | + - run: ./.github/workflows/scripts/free-disk-space.sh |
453 | 459 | - run: make genotelcontribcol |
454 | 460 | - name: Build Examples |
455 | 461 | run: make build-examples |
| 462 | + - run: ./.github/workflows/scripts/check-disk-space.sh |
456 | 463 |
|
457 | 464 | cross-compile: |
458 | 465 | runs-on: ubuntu-latest |
|
0 commit comments