diff --git a/.github/workflows/build-provider.yml b/.github/workflows/build-provider.yml index 6488b02..5a5e06b 100644 --- a/.github/workflows/build-provider.yml +++ b/.github/workflows/build-provider.yml @@ -17,7 +17,7 @@ jobs: apk add --no-cache alpine-sdk git bash - name: Check out repository code - uses: actions/checkout@master + uses: actions/checkout@main - name: Treat repo as safe run: git config --global --add safe.directory /__w/pulumi-spacelift/pulumi-spacelift @@ -26,14 +26,14 @@ jobs: run: rm -rf /github/home/.pulumi - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + - name: Install pulumi + uses: pulumi/actions@v4 - name: Tag version run: git tag -d `git tag | grep -E '.'` && git tag v0.0.0 diff --git a/.github/workflows/library-deployment.yml b/.github/workflows/library-deployment.yml index 4cb13ce..630f6e1 100644 --- a/.github/workflows/library-deployment.yml +++ b/.github/workflows/library-deployment.yml @@ -17,36 +17,36 @@ jobs: - name: Install dependencies run: sudo apt update && sudo apt install -y bash - name: Check out repository code - uses: actions/checkout@master + uses: actions/checkout@main - name: Treat repo as safe run: git config --global --add safe.directory /__w/pulumi-spacelift/pulumi-spacelift - name: Install Go - uses: actions/setup-go@v2 + uses: actions/setup-go@v4 with: go-version: 1.19.x - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + - name: Install pulumi + uses: pulumi/actions@v4 - name: Setup Node - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: 16.x registry-url: https://registry.npmjs.org - name: Install yarn run: npm install --global yarn - name: Setup DotNet - uses: actions/setup-dotnet@v1 + uses: actions/setup-dotnet@v3 with: dotnet-version: 3.1.301 - name: Setup DotNet ICU run: sudo apt-get update && sudo apt-get install -y icu-devtools - name: Setup Python - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: 3.9 - name: Print version diff --git a/.github/workflows/preprod-deployment.yml b/.github/workflows/preprod-deployment.yml index 5b66e1e..24597a2 100644 --- a/.github/workflows/preprod-deployment.yml +++ b/.github/workflows/preprod-deployment.yml @@ -19,7 +19,7 @@ jobs: pip3 install awscli - name: Check out repository code - uses: actions/checkout@master + uses: actions/checkout@main - name: Treat repo as safe run: git config --global --add safe.directory /__w/pulumi-spacelift/pulumi-spacelift @@ -28,14 +28,14 @@ jobs: run: rm -rf /github/home/.pulumi - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + - name: Install pulumi + uses: pulumi/actions@v4 - name: Tag version run: git tag -d `git tag | grep -E '.'` && git tag v0.0.0 @@ -66,7 +66,7 @@ jobs: - name: Configure AWS credentials if: github.ref == 'refs/heads/future' - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 with: aws-region: ${{ secrets.PREPROD_AWS_REGION }} role-to-assume: ${{ secrets.PREPROD_AWS_ROLE_TO_ASSUME }} diff --git a/.github/workflows/prod-deployment.yml b/.github/workflows/prod-deployment.yml index d0d1432..16e7920 100644 --- a/.github/workflows/prod-deployment.yml +++ b/.github/workflows/prod-deployment.yml @@ -19,7 +19,7 @@ jobs: pip3 install awscli - name: Check out repository code - uses: actions/checkout@master + uses: actions/checkout@main - name: Treat repo as safe run: git config --global --add safe.directory /__w/pulumi-spacelift/pulumi-spacelift @@ -28,14 +28,14 @@ jobs: run: rm -rf /github/home/.pulumi - name: Install pulumictl - uses: jaxxstorm/action-install-gh-release@v1.1.0 + uses: jaxxstorm/action-install-gh-release@v1.10.0 with: repo: pulumi/pulumictl env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Install Pulumi CLI - uses: pulumi/action-install-pulumi-cli@v1.0.1 + - name: Install pulumi + uses: pulumi/actions@v4 - name: Tag version run: git tag -d `git tag | grep -E '.'` && git tag v0.0.0 @@ -65,7 +65,7 @@ jobs: run: mkdir -p upload/pulumi-plugins && mv package/*/*.tar.gz upload/pulumi-plugins/ && ls -la upload/pulumi-plugins/ - name: Configure AWS credentials - uses: aws-actions/configure-aws-credentials@v2 + uses: aws-actions/configure-aws-credentials@v4 if: github.ref == 'refs/heads/main' with: aws-region: ${{ secrets.AWS_REGION }}