Skip to content

Commit eea3f88

Browse files
authored
Update GitHub Actions workflows. (#605)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit a43cd0db18f1e71b792b0c79b6f5327c4f39f98b.
1 parent 85c4004 commit eea3f88

23 files changed

+63
-78
lines changed

.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: postgresql-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-postgresql pulumi-tfgen-postgresql
1010
- name: Upload artifacts
11-
uses: actions/upload-artifact@v4
11+
uses: actions/upload-artifact@v4.4.3
1212
with:
1313
name: postgresql-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: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
arch: amd64
3131
steps:
3232
- name: Checkout Repo
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v4.2.2
3434
with:
3535
persist-credentials: false
3636
- name: Setup tools
@@ -40,22 +40,19 @@ jobs:
4040
- name: Prepare local workspace before restoring previously built
4141
run: make prepare_local_workspace
4242
- name: Download schema-embed.json
43-
uses: actions/download-artifact@v4
43+
uses: actions/download-artifact@v4.1.8
4444
with:
4545
# Use a pattern to avoid failing if the artifact doesn't exist
4646
pattern: schema-embed.*
4747
# Avoid creating directories for each artifact
4848
merge-multiple: true
4949
path: provider/cmd/pulumi-resource-postgresql/schema-embed.json
5050
- name: Restore makefile progress
51-
uses: actions/download-artifact@v4
52-
with:
53-
name: prerequisites.make
54-
path: .make
51+
run: make --touch provider schema
5552
- name: Build & package provider
5653
run: make provider_dist-${{ matrix.platform.os }}-${{ matrix.platform.arch }}
5754
- name: Upload artifacts
58-
uses: actions/upload-artifact@v4
55+
uses: actions/upload-artifact@v4.4.3
5956
with:
6057
name: pulumi-resource-postgresql-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz
6158
path: bin/pulumi-resource-postgresql-v${{ inputs.version }}-${{ matrix.platform.os }}-${{ matrix.platform.arch }}.tar.gz

.github/workflows/build_sdk.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- java
4242
steps:
4343
- name: Checkout Repo
44-
uses: actions/checkout@v4
44+
uses: actions/checkout@v4.2.2
4545
with:
4646
persist-credentials: false
4747
- name: Cache examples generation
@@ -61,10 +61,7 @@ jobs:
6161
- name: Update path
6262
run: echo "${{ github.workspace }}/bin" >> "$GITHUB_PATH"
6363
- name: Restore makefile progress
64-
uses: actions/download-artifact@v4
65-
with:
66-
name: prerequisites.make
67-
path: .make
64+
run: make --touch provider schema
6865
- name: Build SDK
6966
run: make build_${{ matrix.language }}
7067
- name: Check worktree clean
@@ -80,9 +77,3 @@ jobs:
8077
uses: ./.github/actions/upload-sdk
8178
with:
8279
language: ${{ matrix.language }}
83-
- name: Save makefile progress
84-
uses: actions/upload-artifact@v4
85-
with:
86-
name: build_${{ matrix.language }}.make
87-
path: .make
88-
include-hidden-files: true

.github/workflows/command-dispatch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout Repo
26-
uses: actions/checkout@v4
26+
uses: actions/checkout@v4.2.2
2727
with:
2828
persist-credentials: false
2929
- uses: peter-evans/slash-command-dispatch@v4

.github/workflows/community-moderation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@ 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
persist-credentials: false
1414
- id: schema_changed
1515
name: Check for diff in schema
16-
uses: dorny/paths-filter@v2
16+
uses: dorny/paths-filter@v2.12.0
1717
with:
1818
filters: "changed: 'provider/cmd/**/schema.json'"
1919
- id: sdk_changed
2020
if: steps.schema_changed.outputs.changed == 'false'
2121
name: Check for diff in sdk/**
22-
uses: dorny/paths-filter@v2
22+
uses: dorny/paths-filter@v2.12.0
2323
with:
2424
filters: "changed: 'sdk/**'"
2525
- if: steps.sdk_changed.outputs.changed == 'true' &&
2626
github.event.pull_request.head.repo.full_name != github.repository
2727
name: Send codegen warning as comment on PR
28-
uses: thollander/actions-comment-pull-request@v2
28+
uses: thollander/actions-comment-pull-request@v2.5.0
2929
with:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131
message: >

.github/workflows/license.yml

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

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
runs-on: ubuntu-latest
3131
steps:
3232
- name: Checkout Repo
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v4.2.2
3434
with:
3535
persist-credentials: false
3636
- name: Install go

0 commit comments

Comments
 (0)