From 2411dfab8930ba65b1a8d6f1b84b0177ee1cbebb Mon Sep 17 00:00:00 2001 From: Pulumi Bot Date: Mon, 24 Jul 2023 05:30:57 +0000 Subject: [PATCH] [internal] Update GitHub Actions workflow files --- .github/workflows/main.yml | 35 ------------------- .github/workflows/master.yml | 35 ------------------- .github/workflows/prerelease.yml | 35 ------------------- .github/workflows/release.yml | 35 ------------------- .github/workflows/run-acceptance-tests.yml | 39 ---------------------- 5 files changed, 179 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fd6f341be..51fe5bfb8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -207,41 +207,6 @@ jobs: author_name: Failure in linting provider fields: repo,commit,author,action status: ${{ job.status }} - lint_sdk: - container: golangci/golangci-lint:v1.51 - name: lint-sdk - needs: build_sdk - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - name: Checkout Scripts Repo - uses: actions/checkout@v3 - with: - path: ci-scripts - repository: pulumi/scripts - - name: Mark repo as safe directory - run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - - name: Install Go - uses: actions/setup-go@v3 - with: - go-version: 1.20.1 - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 - with: - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v2 - - run: cd sdk/go/spotinst && golangci-lint run -c ../../../.golangci.yml - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in linting go sdk - fields: repo,commit,author,action - status: ${{ job.status }} prerequisites: name: prerequisites runs-on: ubuntu-latest diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 6419ee2d4..811758173 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -207,41 +207,6 @@ jobs: author_name: Failure in linting provider fields: repo,commit,author,action status: ${{ job.status }} - lint_sdk: - container: golangci/golangci-lint:v1.51 - name: lint-sdk - needs: build_sdk - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - name: Checkout Scripts Repo - uses: actions/checkout@v3 - with: - path: ci-scripts - repository: pulumi/scripts - - name: Mark repo as safe directory - run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - - name: Install Go - uses: actions/setup-go@v3 - with: - go-version: 1.20.1 - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 - with: - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v2 - - run: cd sdk/go/spotinst && golangci-lint run -c ../../../.golangci.yml - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in linting go sdk - fields: repo,commit,author,action - status: ${{ job.status }} prerequisites: name: prerequisites runs-on: ubuntu-latest diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index c1e8dd33d..2b3611a4b 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -157,41 +157,6 @@ jobs: author_name: Failure in linting provider fields: repo,commit,author,action status: ${{ job.status }} - lint_sdk: - container: golangci/golangci-lint:v1.51 - name: lint-sdk - needs: build_sdk - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - name: Checkout Scripts Repo - uses: actions/checkout@v3 - with: - path: ci-scripts - repository: pulumi/scripts - - name: Mark repo as safe directory - run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - - name: Install Go - uses: actions/setup-go@v3 - with: - go-version: 1.20.1 - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 - with: - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v2 - - run: cd sdk/go/spotinst && golangci-lint run -c ../../../.golangci.yml - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in linting go sdk - fields: repo,commit,author,action - status: ${{ job.status }} prerequisites: name: prerequisites runs-on: ubuntu-latest diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e271b8462..8b8bdae4a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,41 +170,6 @@ jobs: author_name: Failure in linting provider fields: repo,commit,author,action status: ${{ job.status }} - lint_sdk: - container: golangci/golangci-lint:v1.51 - name: lint-sdk - needs: build_sdk - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - name: Checkout Scripts Repo - uses: actions/checkout@v3 - with: - path: ci-scripts - repository: pulumi/scripts - - name: Mark repo as safe directory - run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - - name: Install Go - uses: actions/setup-go@v3 - with: - go-version: 1.20.1 - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 - with: - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v2 - - run: cd sdk/go/spotinst && golangci-lint run -c ../../../.golangci.yml - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in linting go sdk - fields: repo,commit,author,action - status: ${{ job.status }} prerequisites: name: prerequisites runs-on: ubuntu-latest diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index d43038bc0..e21f5d8c8 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -180,45 +180,6 @@ jobs: author_name: Failure in linting provider fields: repo,commit,author,action status: ${{ job.status }} - lint_sdk: - container: golangci/golangci-lint:v1.51 - if: github.event_name == 'repository_dispatch' || - github.event.pull_request.head.repo.full_name == github.repository - name: lint-sdk - needs: build_sdk - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - with: - ref: ${{ env.PR_COMMIT_SHA }} - - name: Checkout Scripts Repo - uses: actions/checkout@v3 - with: - path: ci-scripts - repository: pulumi/scripts - - name: Mark repo as safe directory - run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} - - name: Unshallow clone for tags - run: git fetch --prune --unshallow --tags - - name: Install Go - uses: actions/setup-go@v3 - with: - go-version: 1.20.1 - - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.5.0 - with: - repo: pulumi/pulumictl - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v2 - - run: cd sdk/go/spotinst && golangci-lint run -c ../../../.golangci.yml - - if: failure() && github.event_name == 'push' - name: Notify Slack - uses: 8398a7/action-slack@v3 - with: - author_name: Failure in linting go sdk - fields: repo,commit,author,action - status: ${{ job.status }} prerequisites: if: github.event_name == 'repository_dispatch' || github.event.pull_request.head.repo.full_name == github.repository