-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub Actions workflows. (#450)
This PR was automatically generated by the update-workflows-ecosysetem-providers.yml workflow in the pulumi/ci-mgmt repo, from 73a43f6621eabee19fe500f0af4bdaed30e10378.
- Loading branch information
1 parent
e2c1ff9
commit b258fa0
Showing
17 changed files
with
161 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ env: | |
GH_ORGANIZATION: ${{ secrets.GH_ORGANIZATION }} | ||
GH_TESTING_TOKEN: ${{ secrets.GH_TESTING_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.20.1 | ||
GOVERSION: 1.21.x | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 16.x | ||
|
@@ -48,7 +48,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -152,7 +152,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -178,34 +178,28 @@ jobs: | |
aws s3 cp "${{ env.COVERAGE_OUTPUT_DIR }}/summary.json" "${s3FullURI}" --acl bucket-owner-full-control | ||
lint: | ||
container: golangci/golangci-lint:v1.51 | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
- name: Mark repo as safe directory | ||
run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/action-install-pulumi-cli@v2 | ||
- run: make lint_provider | ||
go-version: 1.21.x | ||
- name: disarm go:embed directives to enable lint | ||
run: | | ||
git grep -l 'go:embed' -- provider | xargs sed -i 's/go:embed/ goembed/g' | ||
- name: prepare upstream | ||
continue-on-error: true | ||
run: make upstream | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.54.1 | ||
working-directory: provider | ||
- if: failure() && github.event_name == 'push' | ||
name: Notify Slack | ||
uses: 8398a7/action-slack@v3 | ||
|
@@ -231,7 +225,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -300,7 +294,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -372,7 +366,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ env: | |
GH_ORGANIZATION: ${{ secrets.GH_ORGANIZATION }} | ||
GH_TESTING_TOKEN: ${{ secrets.GH_TESTING_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.20.1 | ||
GOVERSION: 1.21.x | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 16.x | ||
|
@@ -48,7 +48,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -152,7 +152,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -178,34 +178,28 @@ jobs: | |
aws s3 cp "${{ env.COVERAGE_OUTPUT_DIR }}/summary.json" "${s3FullURI}" --acl bucket-owner-full-control | ||
lint: | ||
container: golangci/golangci-lint:v1.51 | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
- name: Mark repo as safe directory | ||
run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/action-install-pulumi-cli@v2 | ||
- run: make lint_provider | ||
go-version: 1.21.x | ||
- name: disarm go:embed directives to enable lint | ||
run: | | ||
git grep -l 'go:embed' -- provider | xargs sed -i 's/go:embed/ goembed/g' | ||
- name: prepare upstream | ||
continue-on-error: true | ||
run: make upstream | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.54.1 | ||
working-directory: provider | ||
- if: failure() && github.event_name == 'push' | ||
name: Notify Slack | ||
uses: 8398a7/action-slack@v3 | ||
|
@@ -231,7 +225,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -300,7 +294,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -372,7 +366,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ env: | |
GH_ORGANIZATION: ${{ secrets.GH_ORGANIZATION }} | ||
GH_TESTING_TOKEN: ${{ secrets.GH_TESTING_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOVERSION: 1.20.1 | ||
GOVERSION: 1.21.x | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 16.x | ||
|
@@ -49,7 +49,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -125,34 +125,28 @@ jobs: | |
- go | ||
- java | ||
lint: | ||
container: golangci/golangci-lint:v1.51 | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Checkout Scripts Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
path: ci-scripts | ||
repository: pulumi/scripts | ||
- name: Mark repo as safe directory | ||
run: git config --global --add safe.directory /__w/pulumi-${{ env.PROVIDER }}/pulumi-${{ env.PROVIDER }} | ||
- name: Unshallow clone for tags | ||
run: git fetch --prune --unshallow --tags | ||
- name: Install Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: pulumi/pulumictl | ||
- name: Install Pulumi CLI | ||
uses: pulumi/action-install-pulumi-cli@v2 | ||
- run: make lint_provider | ||
go-version: 1.21.x | ||
- name: disarm go:embed directives to enable lint | ||
run: | | ||
git grep -l 'go:embed' -- provider | xargs sed -i 's/go:embed/ goembed/g' | ||
- name: prepare upstream | ||
continue-on-error: true | ||
run: make upstream | ||
- name: golangci-lint | ||
uses: golangci/golangci-lint-action@v3 | ||
with: | ||
version: v1.54.1 | ||
working-directory: provider | ||
- if: failure() && github.event_name == 'push' | ||
name: Notify Slack | ||
uses: 8398a7/action-slack@v3 | ||
|
@@ -178,7 +172,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -246,7 +240,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
@@ -318,7 +312,7 @@ jobs: | |
with: | ||
cache-dependency-path: | | ||
sdk/go.sum | ||
go-version: 1.20.1 | ||
go-version: 1.21.x | ||
- name: Install pulumictl | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.