Skip to content

Commit a6b7332

Browse files
ringodspulumi-bot
andauthored
Regenerate workflows for pulumi-cockroach (#73)
Co-authored-by: pulumi-bot <bot@pulumi.com>
1 parent 7187029 commit a6b7332

File tree

9 files changed

+29
-21
lines changed

9 files changed

+29
-21
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
using: "composite"
66
steps:
77
- name: Download the prerequisites bin
8-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
8+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
99
with:
1010
name: prerequisites-bin
1111
path: bin
@@ -19,7 +19,7 @@ runs:
1919
run: rm bin/executables.txt
2020

2121
- name: Download schema-embed.json
22-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
22+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
2323
with:
2424
# Use a pattern to avoid failing if the artifact doesn't exist
2525
pattern: schema-embed.*

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77

88
- name: Download pulumi-resource-cockroach
9-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
9+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
1010
with:
1111
pattern: pulumi-resource-cockroach-*-linux-amd64.tar.gz
1212
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@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
13+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
1414
with:
1515
name: ${{ inputs.language }}-sdk.tar.gz
1616
path: ${{ github.workspace}}/sdk/

.github/actions/setup-tools/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747

4848
- name: Install Pulumi CLI
4949
if: inputs.tools == 'all' || contains(inputs.tools, 'pulumicli')
50-
uses: pulumi/actions@3da56e6feff8f5db8b48d3a396bc10ef1f968088 # v6
50+
uses: pulumi/actions@9519177da243fd32cab35cdbf19cce1ab7472fcc # v6
5151
with:
5252
pulumi-version: "dev"
5353

.github/workflows/build_provider.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,19 @@ on:
99
required: true
1010
type: string
1111
description: Version of the provider to build
12+
matrix:
13+
required: false
14+
type: string
15+
default: |
16+
{
17+
"platform": [
18+
{"os": "linux", "arch": "amd64"},
19+
{"os": "linux", "arch": "arm64"},
20+
{"os": "darwin", "arch": "amd64"},
21+
{"os": "darwin", "arch": "arm64"},
22+
{"os": "windows", "arch": "amd64"}
23+
]
24+
}
1225
1326
jobs:
1427
build_provider:
@@ -19,18 +32,7 @@ jobs:
1932
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2033
strategy:
2134
fail-fast: true
22-
matrix:
23-
platform:
24-
- os: linux
25-
arch: amd64
26-
- os: linux
27-
arch: arm64
28-
- os: darwin
29-
arch: amd64
30-
- os: darwin
31-
arch: arm64
32-
- os: windows
33-
arch: amd64
35+
matrix: ${{ fromJSON(inputs.matrix) }}
3436
steps:
3537
- name: Checkout Repo
3638
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ jobs:
5050
- name: golangci-lint
5151
uses: golangci/golangci-lint-action@2226d7cb06a077cd73e56eedd38eecad18e5d837 # v6
5252
with:
53-
version: v1.60
53+
version: v1.64.6
5454
working-directory: provider

.github/workflows/prerequisites.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Unit-test provider code
7373
run: make test_provider
7474
- name: Upload coverage reports to Codecov
75-
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1
75+
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
7676
env:
7777
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
7878
- if: inputs.is_pr

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,14 +61,14 @@ jobs:
6161
- name: Create dist directory
6262
run: mkdir -p dist
6363
- name: Download provider assets
64-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
64+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
6565
with:
6666
pattern: pulumi-resource-cockroach-v${{ inputs.version }}-*
6767
path: dist
6868
# Don't create a directory for each artifact
6969
merge-multiple: true
7070
- name: Download schema
71-
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8
71+
uses: actions/download-artifact@cc203385981b70ca67e1cc392babf9cc229d5806 # v4.1.9
7272
with:
7373
# Use a pattern to avoid failing if the artifact doesn't exist
7474
pattern: schema-embed.*

.github/workflows/run-acceptance-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,12 @@ jobs:
5454
secrets: inherit
5555
with:
5656
version: ${{ needs.prerequisites.outputs.version }}
57+
matrix: |
58+
{
59+
"platform": [
60+
{"os": "linux", "arch": "amd64"},
61+
]
62+
}
5763
5864
build_sdk:
5965
if: github.event_name == 'repository_dispatch' ||

0 commit comments

Comments
 (0)