From 82b4cfd5042679014e882a0026b9c5d692d59067 Mon Sep 17 00:00:00 2001 From: Pulumi Bot <30351955+pulumi-bot@users.noreply.github.com> Date: Thu, 27 Feb 2025 17:52:19 -0700 Subject: [PATCH] Update GitHub Actions workflows. (#3524) This PR was automatically generated by the update-native-provider-workflows workflow in the pulumi/ci-mgmt repo, from commit 6f5f171fa0446a7d4a5ae4e07adc6f8cc5f994c7. --------- Co-authored-by: Eron Wright --- .github/workflows/build.yml | 38 +++++++++---------- .github/workflows/command-dispatch.yml | 4 +- .github/workflows/prerelease.yml | 38 +++++++++---------- .github/workflows/pull-request.yml | 4 +- .github/workflows/release.yml | 38 +++++++++---------- .github/workflows/run-acceptance-tests.yml | 24 ++++++------ .github/workflows/weekly-pulumi-update.yml | 8 ++-- .golangci.yml | 9 +---- tests/sdk/dotnet/basic/Basic.csproj | 2 +- .../custom-resource/CustomResource.csproj | 2 +- tests/sdk/dotnet/guestbook/Guestbook.csproj | 2 +- .../step1/HelmApiVersions.csproj | 2 +- .../step1/HelmKubeVersion.csproj | 2 +- .../dotnet/helm-local/step1/HelmLocal.csproj | 2 +- .../step1/HelmSkipCRDRendering.csproj | 2 +- tests/sdk/dotnet/helm/step1/Helm.csproj | 2 +- .../KustomizeUninitializedProvider.csproj | 2 +- tests/sdk/dotnet/kustomize/Kustomize.csproj | 2 +- tests/sdk/dotnet/options/options-test.csproj | 2 +- tests/sdk/dotnet/secrets/Secrets.csproj | 2 +- .../server-side-apply/ServerSideApply.csproj | 2 +- tests/sdk/dotnet/yaml-local/YamlLocal.csproj | 2 +- .../YamlUninitializedProvider.csproj | 2 +- tests/sdk/dotnet/yaml-url/YamlUrl.csproj | 2 +- 24 files changed, 87 insertions(+), 108 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 28c0c38258..b0214a5239 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,9 +42,7 @@ env: GOVERSION: 1.21.x NODEVERSION: 20.x PYTHONVERSION: "3.11" - DOTNETVERSION: | - 6.0.x - 3.1.301 + DOTNETVERSION: 8.0.x JAVAVERSION: "11" AWS_REGION: us-west-2 PULUMI_TEST_OWNER: moolumi @@ -235,15 +233,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -379,15 +377,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -434,7 +432,7 @@ jobs: name: config path: ~/.kube/ - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: ${{ env.AWS_REGION }} @@ -443,7 +441,7 @@ jobs: role-session-name: ${{ env.PROVIDER }}@githubActions role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }} - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -451,7 +449,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl @@ -522,7 +520,7 @@ jobs: with: pulumi-version-file: .pulumi.version - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: us-east-2 @@ -582,11 +580,11 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Download python SDK @@ -645,7 +643,7 @@ jobs: run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i 's/go:embed/ goembed/g' - name: golangci-lint provider pkg - uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6.2.0 + uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0 with: version: ${{ env.GOLANGCI_LINT_VERSION }} args: -c ../.golangci.yml @@ -681,7 +679,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -689,7 +687,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl @@ -745,7 +743,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -753,7 +751,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl diff --git a/.github/workflows/command-dispatch.yml b/.github/workflows/command-dispatch.yml index b023732b91..e1b7abe3ef 100644 --- a/.github/workflows/command-dispatch.yml +++ b/.github/workflows/command-dispatch.yml @@ -27,9 +27,7 @@ env: GOVERSION: 1.21.x NODEVERSION: 20.x PYTHONVERSION: "3.11" - DOTNETVERSION: | - 6.0.x - 3.1.301 + DOTNETVERSION: 8.0.x JAVAVERSION: "11" AWS_REGION: us-west-2 PULUMI_TEST_OWNER: moolumi diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 98bf51d0da..240e64fcc7 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -33,9 +33,7 @@ env: GOVERSION: 1.21.x NODEVERSION: 20.x PYTHONVERSION: "3.11" - DOTNETVERSION: | - 6.0.x - 3.1.301 + DOTNETVERSION: 8.0.x JAVAVERSION: "11" AWS_REGION: us-west-2 PULUMI_TEST_OWNER: moolumi @@ -227,15 +225,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -370,15 +368,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -425,7 +423,7 @@ jobs: name: config path: ~/.kube/ - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: ${{ env.AWS_REGION }} @@ -434,7 +432,7 @@ jobs: role-session-name: ${{ env.PROVIDER }}@githubActions role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }} - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -442,7 +440,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl @@ -513,7 +511,7 @@ jobs: with: pulumi-version-file: .pulumi.version - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: us-east-2 @@ -573,11 +571,11 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Download python SDK @@ -645,7 +643,7 @@ jobs: - name: Install Pulumi CLI uses: pulumi/actions@13b8b7177d6fb736766875dac9b78aab07bd785f # v6.0.1 - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -733,7 +731,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -741,7 +739,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl @@ -797,7 +795,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -805,7 +803,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 49afa0168d..7ca25a60e1 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -24,9 +24,7 @@ env: GOVERSION: 1.21.x NODEVERSION: 20.x PYTHONVERSION: "3.11" - DOTNETVERSION: | - 6.0.x - 3.1.301 + DOTNETVERSION: 8.0.x JAVAVERSION: "11" AWS_REGION: us-west-2 PULUMI_TEST_OWNER: moolumi diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d7d3f4720..0d99ecbc08 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,9 +34,7 @@ env: GOVERSION: 1.21.x NODEVERSION: 20.x PYTHONVERSION: "3.11" - DOTNETVERSION: | - 6.0.x - 3.1.301 + DOTNETVERSION: 8.0.x JAVAVERSION: "11" AWS_REGION: us-west-2 PULUMI_TEST_OWNER: moolumi @@ -227,15 +225,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -370,15 +368,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -425,7 +423,7 @@ jobs: name: config path: ~/.kube/ - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: ${{ env.AWS_REGION }} @@ -434,7 +432,7 @@ jobs: role-session-name: ${{ env.PROVIDER }}@githubActions role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }} - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -442,7 +440,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl @@ -513,7 +511,7 @@ jobs: with: pulumi-version-file: .pulumi.version - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: us-east-2 @@ -573,11 +571,11 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Download python SDK @@ -645,7 +643,7 @@ jobs: - name: Install Pulumi CLI uses: pulumi/actions@13b8b7177d6fb736766875dac9b78aab07bd785f # v6.0.1 - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -747,7 +745,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -755,7 +753,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl @@ -811,7 +809,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -819,7 +817,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl diff --git a/.github/workflows/run-acceptance-tests.yml b/.github/workflows/run-acceptance-tests.yml index 5370af20cb..a437f2ea33 100644 --- a/.github/workflows/run-acceptance-tests.yml +++ b/.github/workflows/run-acceptance-tests.yml @@ -30,9 +30,7 @@ env: GOVERSION: 1.21.x NODEVERSION: 20.x PYTHONVERSION: "3.11" - DOTNETVERSION: | - 6.0.x - 3.1.301 + DOTNETVERSION: 8.0.x JAVAVERSION: "11" AWS_REGION: us-west-2 PULUMI_TEST_OWNER: moolumi @@ -247,15 +245,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -394,15 +392,15 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Setup Java - uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 + uses: actions/setup-java@3a4f6e1af504cf6a31855fa899c6aa5355ba6c12 # v4.7.0 with: java-version: ${{ env.JAVAVERSION }} distribution: temurin @@ -442,7 +440,7 @@ jobs: - name: Install dependencies run: make install_${{ matrix.language}}_sdk - name: Configure AWS Credentials - uses: aws-actions/configure-aws-credentials@e3dd6a429d7300a6a4c196c26e071d42e0343502 # v4.0.2 + uses: aws-actions/configure-aws-credentials@ececac1a45f3b08a01d2dd070d28d111c5fe6722 # v4.1.0 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-region: ${{ env.AWS_REGION }} @@ -451,7 +449,7 @@ jobs: role-session-name: ${{ env.PROVIDER }}@githubActions role-to-assume: ${{ secrets.AWS_CI_ROLE_ARN }} - name: Authenticate to Google Cloud - uses: google-github-actions/auth@6fc4af4b145ae7821d527454aa9bd537d1f2dc5f # v2.1.7 + uses: google-github-actions/auth@71f986410dfbc7added4569d411d040a91dc6935 # v2.1.8 with: workload_identity_provider: projects/${{ env.GOOGLE_PROJECT_NUMBER }}/locations/global/workloadIdentityPools/${{ @@ -459,7 +457,7 @@ jobs: env.GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER }} service_account: ${{ env.GOOGLE_CI_SERVICE_ACCOUNT_EMAIL }} - name: Setup gcloud auth - uses: google-github-actions/setup-gcloud@6189d56e4096ee891640bb02ac264be376592d6a # v2.1.2 + uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a # v2.1.4 with: install_components: gke-gcloud-auth-plugin - name: Install Kubectl @@ -538,7 +536,7 @@ jobs: run: git grep -l 'go:embed' -- provider | xargs --no-run-if-empty sed -i 's/go:embed/ goembed/g' - name: golangci-lint provider pkg - uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6.2.0 + uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6.5.0 with: version: ${{ env.GOLANGCI_LINT_VERSION }} args: -c ../.golangci.yml diff --git a/.github/workflows/weekly-pulumi-update.yml b/.github/workflows/weekly-pulumi-update.yml index d6046fef22..13a0ddac77 100644 --- a/.github/workflows/weekly-pulumi-update.yml +++ b/.github/workflows/weekly-pulumi-update.yml @@ -26,9 +26,7 @@ env: GOVERSION: 1.21.x NODEVERSION: 20.x PYTHONVERSION: "3.11" - DOTNETVERSION: | - 6.0.x - 3.1.301 + DOTNETVERSION: 8.0.x JAVAVERSION: "11" AWS_REGION: us-west-2 PULUMI_TEST_OWNER: moolumi @@ -59,7 +57,7 @@ jobs: with: pulumi-version-file: .pulumi.version - name: Setup DotNet - uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + uses: actions/setup-dotnet@3951f0dfe7a07e2313ec93c75700083e2005cbab # v4.3.0 with: dotnet-version: ${{ env.DOTNETVERSION }} - name: Setup Node @@ -68,7 +66,7 @@ jobs: node-version: ${{ env.NODEVERSION }} registry-url: https://registry.npmjs.org - name: Setup Python - uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b # v5.3.0 + uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0 with: python-version: ${{ env.PYTHONVERSION }} - name: Update Pulumi/Pulumi diff --git a/.golangci.yml b/.golangci.yml index 9d909628dc..4fef61f94a 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -16,14 +16,7 @@ linters: disable: - lll run: - skip-files: - - schema.go - skip-dirs: - - provider/pkg/gen - skip-dirs-use-default: true modules-download-mode: readonly timeout: 10m issues: - exclude-rules: - path: "provider/cmd/pulumi-resource-kubernetes" - source: "^//go:embed" + exclude-dirs-use-default: true diff --git a/tests/sdk/dotnet/basic/Basic.csproj b/tests/sdk/dotnet/basic/Basic.csproj index 74954604db..21114b1109 100644 --- a/tests/sdk/dotnet/basic/Basic.csproj +++ b/tests/sdk/dotnet/basic/Basic.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/tests/sdk/dotnet/custom-resource/CustomResource.csproj b/tests/sdk/dotnet/custom-resource/CustomResource.csproj index d475a53fb0..f432dbe7e6 100644 --- a/tests/sdk/dotnet/custom-resource/CustomResource.csproj +++ b/tests/sdk/dotnet/custom-resource/CustomResource.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 enable diff --git a/tests/sdk/dotnet/guestbook/Guestbook.csproj b/tests/sdk/dotnet/guestbook/Guestbook.csproj index 74954604db..21114b1109 100644 --- a/tests/sdk/dotnet/guestbook/Guestbook.csproj +++ b/tests/sdk/dotnet/guestbook/Guestbook.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/tests/sdk/dotnet/helm-api-versions/step1/HelmApiVersions.csproj b/tests/sdk/dotnet/helm-api-versions/step1/HelmApiVersions.csproj index 74954604db..21114b1109 100644 --- a/tests/sdk/dotnet/helm-api-versions/step1/HelmApiVersions.csproj +++ b/tests/sdk/dotnet/helm-api-versions/step1/HelmApiVersions.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/tests/sdk/dotnet/helm-kube-version/step1/HelmKubeVersion.csproj b/tests/sdk/dotnet/helm-kube-version/step1/HelmKubeVersion.csproj index 74954604db..21114b1109 100644 --- a/tests/sdk/dotnet/helm-kube-version/step1/HelmKubeVersion.csproj +++ b/tests/sdk/dotnet/helm-kube-version/step1/HelmKubeVersion.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 diff --git a/tests/sdk/dotnet/helm-local/step1/HelmLocal.csproj b/tests/sdk/dotnet/helm-local/step1/HelmLocal.csproj index 4bcdee5ec5..789f77c1d9 100644 --- a/tests/sdk/dotnet/helm-local/step1/HelmLocal.csproj +++ b/tests/sdk/dotnet/helm-local/step1/HelmLocal.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0 HelmLocal enable diff --git a/tests/sdk/dotnet/helm-skip-crd-rendering/step1/HelmSkipCRDRendering.csproj b/tests/sdk/dotnet/helm-skip-crd-rendering/step1/HelmSkipCRDRendering.csproj index 039cdd7ea7..b202b9c453 100644 --- a/tests/sdk/dotnet/helm-skip-crd-rendering/step1/HelmSkipCRDRendering.csproj +++ b/tests/sdk/dotnet/helm-skip-crd-rendering/step1/HelmSkipCRDRendering.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net8.0