|
50 | 50 | steps: |
51 | 51 | # Checkout should always be before setup-go to ensure caching is working |
52 | 52 | - name: Checkout |
53 | | - uses: actions/checkout@v4 |
| 53 | + uses: actions/checkout@v5 |
54 | 54 | - name: Install Terraform |
55 | 55 | uses: hashicorp/setup-terraform@v3 |
56 | 56 | - name: Install Go |
@@ -110,14 +110,14 @@ jobs: |
110 | 110 | echo "Pattern: $SKIP_PATTERN" |
111 | 111 | echo "" |
112 | 112 | echo "Tests that will be skipped:" |
113 | | - go test -list=. ./internal/services/${{ matrix.products }} | grep -E "$SKIP_PATTERN" || true |
| 113 | + go tool gotestsum --format github-actions -- -list=. ./internal/services/${{ matrix.products }} | grep -E "$SKIP_PATTERN" || true |
114 | 114 | echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" |
115 | 115 | echo "" |
116 | 116 |
|
117 | | - go test -v ./internal/services/${{ matrix.products }} -timeout=2h -skip="$SKIP_PATTERN" |
| 117 | + go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=2h -skip="$SKIP_PATTERN" |
118 | 118 | TEST_RESULT=$? |
119 | 119 | else |
120 | | - go test -v ./internal/services/${{ matrix.products }} -timeout=2h |
| 120 | + go tool gotestsum --format github-actions -- -v ./internal/services/${{ matrix.products }} -timeout=2h |
121 | 121 | TEST_RESULT=$? |
122 | 122 | fi |
123 | 123 |
|
@@ -147,15 +147,15 @@ jobs: |
147 | 147 | steps: |
148 | 148 | # Checkout should always be before setup-go to ensure caching is working |
149 | 149 | - name: Checkout |
150 | | - uses: actions/checkout@v4 |
| 150 | + uses: actions/checkout@v5 |
151 | 151 | - name: Install Go |
152 | 152 | uses: actions/setup-go@v5 |
153 | 153 | with: |
154 | 154 | go-version: 1.24.0 |
155 | 155 | - name: Install Terraform |
156 | 156 | uses: hashicorp/setup-terraform@v3 |
157 | 157 | - name: Run scwconfig tests |
158 | | - run: go test -v ./internal/services/scwconfig -timeout=2m |
| 158 | + run: go tool gotestsum --format github-actions -- ./internal/services/scwconfig -timeout=2m |
159 | 159 | env: |
160 | 160 | TF_LOG: DEBUG |
161 | 161 | TF_ACC: 1 |
|
0 commit comments