From 2f8b1bcb5d43d7eb4f75e60c166aac5e60620e87 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Tue, 10 Sep 2024 06:50:51 +0100 Subject: [PATCH] Update GitHub Actions workflows. (#570) This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit ef73d27abae63a21fe95561ad39d3c5b15060b3e. --- .github/workflows/check-upstream-upgrade.yml | 3 +-- .github/workflows/master.yml | 4 ++-- .github/workflows/prerelease.yml | 4 ++-- .github/workflows/release.yml | 2 +- .github/workflows/run-acceptance-tests.yml | 7 +++---- 5 files changed, 9 insertions(+), 11 deletions(-) diff --git a/.github/workflows/check-upstream-upgrade.yml b/.github/workflows/check-upstream-upgrade.yml index 9e375a37..a4d997bc 100644 --- a/.github/workflows/check-upstream-upgrade.yml +++ b/.github/workflows/check-upstream-upgrade.yml @@ -25,9 +25,8 @@ jobs: shell: bash - name: Run upgrade-provider upstream check id: upstream_version - # Using --repo-path=. skips git pull steps since the Checkout Repo steps has done those. run: | - upgrade-provider "$REPO" --kind=check-upstream-version --repo-path=. + upgrade-provider "$REPO" --kind=check-upstream-version env: REPO: ${{ github.repository }} shell: bash diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 295b9b6b..0d4993f9 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -124,7 +124,7 @@ jobs: test: name: test - needs: + needs: - prerequisites - build_sdk permissions: @@ -161,7 +161,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} version: v2.5.0 - name: Run tests - run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt + run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 strategy: fail-fast: false matrix: diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index b002008a..cea63aa1 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -69,7 +69,7 @@ jobs: test: name: test - needs: + needs: - prerequisites - build_sdk permissions: @@ -106,7 +106,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} version: v2.5.0 - name: Run tests - run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt + run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . strategy: fail-fast: false matrix: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e80c4f76..68064c50 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -111,7 +111,7 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} version: v2.5.0 - name: Run tests - run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt + run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -parallel 4 . strategy: fail-fast: false matrix: diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 32ad1ff4..912e3067 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -87,7 +87,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: guibranco/github-status-action-v2@0849440ec82c5fa69b2377725b9b7852a3977e76 - with: + with: authToken: ${{secrets.GITHUB_TOKEN}} # Write an explicit status check called "Sentinel" which will only pass if this code really runs. # This should always be a required check for PRs. @@ -148,11 +148,10 @@ jobs: version: v2.5.0 - name: Run tests if: matrix.testTarget == 'local' - 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 + run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -skip TestPulumiExamples -parallel 4 . - name: Run pulumi/examples tests if: matrix.testTarget == 'pulumiExamples' - run: cd examples && go test -v -json -count=1 -cover -timeout 2h -tags=${{ - matrix.language }} -run TestPulumiExamples -parallel 4 . 2>&1 | tee /tmp/gotest.log | gotestfmt + run: cd examples && go test -count=1 -cover -timeout 2h -tags=${{ matrix.language }} -run TestPulumiExamples -parallel 4 . strategy: fail-fast: false matrix: