Skip to content

Commit 3e45057

Browse files
authored
Update GitHub Actions workflows. (#4436)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit c98af28897c475b237bd1018f80f1e1ca6d5ff13.
1 parent 824c268 commit 3e45057

File tree

6 files changed

+18
-37
lines changed

6 files changed

+18
-37
lines changed

.github/workflows/master.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126

127127
test:
128128
name: test
129-
needs:
129+
needs:
130130
- prerequisites
131131
- build_sdk
132132
permissions:
@@ -165,11 +165,6 @@ jobs:
165165
pip3 install pipenv
166166
- name: Install dependencies
167167
run: make install_${{ matrix.language}}_sdk
168-
- name: Install gotestfmt
169-
uses: GoTestTools/gotestfmt-action@v2
170-
with:
171-
token: ${{ secrets.GITHUB_TOKEN }}
172-
version: v2.5.0
173168
- name: Configure AWS Credentials
174169
uses: aws-actions/configure-aws-credentials@v4
175170
with:
@@ -182,7 +177,7 @@ jobs:
182177
- name: Make upstream
183178
run: make upstream
184179
- name: Run tests
185-
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
180+
run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4
186181
strategy:
187182
fail-fast: false
188183
matrix:

.github/workflows/nightly-test.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
test:
4848
name: test
49-
needs:
49+
needs:
5050
- prerequisites
5151
- build_sdk
5252
permissions:
@@ -85,11 +85,6 @@ jobs:
8585
pip3 install pipenv
8686
- name: Install dependencies
8787
run: make install_${{ matrix.language}}_sdk
88-
- name: Install gotestfmt
89-
uses: GoTestTools/gotestfmt-action@v2
90-
with:
91-
token: ${{ secrets.GITHUB_TOKEN }}
92-
version: v2.5.0
9388
- name: Configure AWS Credentials
9489
uses: aws-actions/configure-aws-credentials@v4
9590
with:
@@ -102,8 +97,7 @@ jobs:
10297
- name: Make upstream
10398
run: make upstream
10499
- name: Run tests
105-
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{
106-
matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
100+
run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4
107101
strategy:
108102
fail-fast: false
109103
matrix:

.github/workflows/prerelease.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969

7070
test:
7171
name: test
72-
needs:
72+
needs:
7373
- prerequisites
7474
- build_sdk
7575
permissions:
@@ -108,11 +108,6 @@ jobs:
108108
pip3 install pipenv
109109
- name: Install dependencies
110110
run: make install_${{ matrix.language}}_sdk
111-
- name: Install gotestfmt
112-
uses: GoTestTools/gotestfmt-action@v2
113-
with:
114-
token: ${{ secrets.GITHUB_TOKEN }}
115-
version: v2.5.0
116111
- name: Configure AWS Credentials
117112
uses: aws-actions/configure-aws-credentials@v4
118113
with:
@@ -125,7 +120,7 @@ jobs:
125120
- name: Make upstream
126121
run: make upstream
127122
- name: Run tests
128-
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
123+
run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
129124
strategy:
130125
fail-fast: false
131126
matrix:

.github/workflows/release.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@ jobs:
113113
pip3 install pipenv
114114
- name: Install dependencies
115115
run: make install_${{ matrix.language}}_sdk
116-
- name: Install gotestfmt
117-
uses: GoTestTools/gotestfmt-action@v2
118-
with:
119-
token: ${{ secrets.GITHUB_TOKEN }}
120-
version: v2.5.0
121116
- name: Configure AWS Credentials
122117
uses: aws-actions/configure-aws-credentials@v4
123118
with:
@@ -130,7 +125,7 @@ jobs:
130125
- name: Make upstream
131126
run: make upstream
132127
- name: Run tests
133-
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
128+
run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 .
134129
strategy:
135130
fail-fast: false
136131
matrix:

.github/workflows/run-acceptance-tests.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
runs-on: ubuntu-latest
8585
steps:
8686
- uses: guibranco/github-status-action-v2@0849440ec82c5fa69b2377725b9b7852a3977e76
87-
with:
87+
with:
8888
authToken: ${{secrets.GITHUB_TOKEN}}
8989
# Write an explicit status check called "Sentinel" which will only pass if this code really runs.
9090
# This should always be a required check for PRs.
@@ -145,11 +145,6 @@ jobs:
145145
pip3 install pipenv
146146
- name: Install dependencies
147147
run: make install_${{ matrix.language}}_sdk
148-
- name: Install gotestfmt
149-
uses: GoTestTools/gotestfmt-action@v2
150-
with:
151-
token: ${{ secrets.GITHUB_TOKEN }}
152-
version: v2.5.0
153148
- name: Configure AWS Credentials
154149
uses: aws-actions/configure-aws-credentials@v4
155150
with:
@@ -163,11 +158,10 @@ jobs:
163158
run: make upstream
164159
- name: Run tests
165160
if: matrix.testTarget == 'local'
166-
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
161+
run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 4 .
167162
- name: Run pulumi/examples tests
168163
if: matrix.testTarget == 'pulumiExamples'
169-
run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{
170-
matrix.language }} -run TestPulumiExamples -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt
164+
run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -run TestPulumiExamples -parallel 4 .
171165
strategy:
172166
fail-fast: false
173167
matrix:

.github/workflows/upgrade-bridge.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ jobs:
6363
with:
6464
tool-cache: false
6565
swap-storage: false
66+
- name: Checkout Repo
67+
uses: actions/checkout@v4
68+
with:
69+
submodules: true
70+
- name: Setup tools
71+
uses: ./.github/actions/setup-tools
72+
with:
73+
tools: pulumictl, pulumicli, go, node, dotnet, python, java
6674
- name: Call upgrade provider action
6775
if: github.event_name == 'workflow_dispatch'
6876
uses: pulumi/[email protected]

0 commit comments

Comments
 (0)