Skip to content

Commit d79e9e0

Browse files
Update GitHub Actions workflows. (#4848)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit a43cd0db18f1e71b792b0c79b6f5327c4f39f98b. --------- Co-authored-by: Daniel Bradley <[email protected]>
1 parent 3d1a3a5 commit d79e9e0

26 files changed

+84
-133
lines changed

.ci-mgmt.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -162,10 +162,7 @@ extraTests:
162162
with:
163163
language: ${{ matrix.language }}
164164
- name: Restore makefile progress
165-
uses: actions/download-artifact@v4
166-
with:
167-
name: build_${{ matrix.language }}.make
168-
path: .make
165+
run: make --touch provider schema build_${{ matrix.language }}
169166
- name: Update path
170167
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
171168
- name: Install dependencies
@@ -227,10 +224,7 @@ extraTests:
227224
with:
228225
language: ${{ matrix.language }}
229226
- name: Restore makefile progress
230-
uses: actions/download-artifact@v4
231-
with:
232-
name: build_${{ matrix.language }}.make
233-
path: .make
227+
run: make --touch provider schema build_${{ matrix.language }}
234228
- name: Update path
235229
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
236230
- name: Install Python deps

.github/actions/download-bin/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: "composite"
66
steps:
77
- name: Download provider + tfgen binaries
8-
uses: actions/download-artifact@v4
8+
uses: actions/download-artifact@v4.1.8
99
with:
1010
name: aws-provider.tar.gz
1111
path: ${{ github.workspace }}/bin

.github/actions/download-sdk/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ runs:
1010
using: "composite"
1111
steps:
1212
- name: Download ${{ inputs.language }} SDK
13-
uses: actions/download-artifact@v4
13+
uses: actions/download-artifact@v4.1.8
1414
with:
1515
name: ${{ inputs.language }}-sdk.tar.gz
1616
path: ${{ github.workspace}}/sdk/

.github/actions/upload-bin/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ runs:
88
shell: bash
99
run: tar -zcf ${{ github.workspace }}/bin/provider.tar.gz -C ${{ github.workspace }}/bin/ pulumi-resource-aws pulumi-tfgen-aws
1010
- name: Upload artifacts
11-
uses: actions/upload-artifact@v4
11+
uses: actions/upload-artifact@v4.4.3
1212
with:
1313
name: aws-provider.tar.gz
1414
path: ${{ github.workspace }}/bin/provider.tar.gz

.github/actions/upload-sdk/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runs:
1313
shell: bash
1414
run: tar -zcf sdk/${{ inputs.language }}.tar.gz -C sdk/${{ inputs.language }} .
1515
- name: Upload artifacts
16-
uses: actions/upload-artifact@v4
16+
uses: actions/upload-artifact@v4.4.3
1717
with:
1818
name: ${{ inputs.language }}-sdk.tar.gz
1919
path: ${{ github.workspace}}/sdk/${{ inputs.language }}.tar.gz

.github/workflows/build_provider.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
steps:
3232
# Run as first step so we don't delete things that have just been installed
3333
- name: Free Disk Space (Ubuntu)
34-
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
34+
uses: jlumbroso/free-disk-space@v1.3.1
3535
with:
3636
tool-cache: false
3737
swap-storage: false
3838
dotnet: false
3939
- name: Checkout Repo
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v4.2.2
4141
with:
4242
submodules: true
4343
persist-credentials: false
@@ -48,22 +48,19 @@ jobs:
4848
- name: Prepare local workspace before restoring previously built
4949
run: make prepare_local_workspace
5050
- name: Download schema-embed.json
51-
uses: actions/download-artifact@v4
51+
uses: actions/download-artifact@v4.1.8
5252
with:
5353
# Use a pattern to avoid failing if the artifact doesn't exist
5454
pattern: schema-embed.*
5555
# Avoid creating directories for each artifact
5656
merge-multiple: true
5757
path: provider/cmd/pulumi-resource-aws/schema-embed.json
5858
- name: Restore makefile progress
59-
uses: actions/download-artifact@v4
60-
with:
61-
name: prerequisites.make
62-
path: .make
59+
run: make --touch provider schema
6360
- name: Build & package provider
6461
run: make provider_dist-${{ matrix.platform.os }}-${{ matrix.platform.arch }}
6562
- name: Upload artifacts
66-
uses: actions/upload-artifact@v4
63+
uses: actions/upload-artifact@v4.4.3
6764
with:
6865
name: pulumi-resource-aws-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
6966
path: bin/pulumi-resource-aws-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz

.github/workflows/build_sdk.yml

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ jobs:
4545
steps:
4646
# Run as first step so we don't delete things that have just been installed
4747
- name: Free Disk Space (Ubuntu)
48-
uses: jlumbroso/free-disk-space@54081f138730dfa15788a46383842cd2f914a1be
48+
uses: jlumbroso/free-disk-space@v1.3.1
4949
with:
5050
tool-cache: false
5151
swap-storage: false
5252
dotnet: false
5353
- name: Checkout Repo
54-
uses: actions/checkout@v4
54+
uses: actions/checkout@v4.2.2
5555
with:
5656
submodules: true
5757
persist-credentials: false
@@ -72,10 +72,7 @@ jobs:
7272
- name: Update path
7373
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
7474
- name: Restore makefile progress
75-
uses: actions/download-artifact@v4
76-
with:
77-
name: prerequisites.make
78-
path: .make
75+
run: make --touch provider schema
7976
- name: Build SDK
8077
run: make build_${{ matrix.language }}
8178
- name: Check worktree clean
@@ -91,9 +88,3 @@ jobs:
9188
uses: ./.github/actions/upload-sdk
9289
with:
9390
language: ${{ matrix.language }}
94-
- name: Save makefile progress
95-
uses: actions/upload-artifact@v4
96-
with:
97-
name: build_${{ matrix.language }}.make
98-
path: .make
99-
include-hidden-files: true

.github/workflows/command-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout Repo
29-
uses: actions/checkout@v4
29+
uses: actions/checkout@v4.2.2
3030
with:
3131
submodules: true
3232
persist-credentials: false

.github/workflows/community-moderation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,25 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout Repo
11-
uses: actions/checkout@v4
11+
uses: actions/checkout@v4.2.2
1212
with:
1313
submodules: true
1414
persist-credentials: false
1515
- id: schema_changed
1616
name: Check for diff in schema
17-
uses: dorny/paths-filter@v2
17+
uses: dorny/paths-filter@v2.12.0
1818
with:
1919
filters: "changed: 'provider/cmd/**/schema.json'"
2020
- id: sdk_changed
2121
if: steps.schema_changed.outputs.changed == 'false'
2222
name: Check for diff in sdk/**
23-
uses: dorny/paths-filter@v2
23+
uses: dorny/paths-filter@v2.12.0
2424
with:
2525
filters: "changed: 'sdk/**'"
2626
- if: steps.sdk_changed.outputs.changed == 'true' &&
2727
github.event.pull_request.head.repo.full_name != github.repository
2828
name: Send codegen warning as comment on PR
29-
uses: thollander/actions-comment-pull-request@v2
29+
uses: thollander/actions-comment-pull-request@v2.5.0
3030
with:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3232
message: >

.github/workflows/license.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
runs-on: ubuntu-latest
3434
steps:
3535
- name: Checkout Repo
36-
uses: actions/checkout@v4
36+
uses: actions/checkout@v4.2.2
3737
with:
3838
persist-credentials: false
3939
- name: Setup tools

0 commit comments

Comments
 (0)