Skip to content

Commit

Permalink
Bump GH Actions
Browse files Browse the repository at this point in the history
Signed-off-by: peterdeme <[email protected]>
  • Loading branch information
peterdeme committed Sep 27, 2023
1 parent 20f3010 commit ccc5ce7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 22 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
- name: Install pulumi
uses: pulumi/actions@v4

- name: Tag version
run: git tag -d `git tag | grep -E '.'` && git tag v0.0.0
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/library-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
- 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
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/preprod-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
- name: Install pulumi
uses: pulumi/actions@v4

- name: Tag version
run: git tag -d `git tag | grep -E '.'` && git tag v0.0.0
Expand Down Expand Up @@ -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 }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/prod-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/[email protected]
- name: Install pulumi
uses: pulumi/actions@v4

- name: Tag version
run: git tag -d `git tag | grep -E '.'` && git tag v0.0.0
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit ccc5ce7

Please sign in to comment.