-
Notifications
You must be signed in to change notification settings - Fork 14
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. (#767)
This PR was automatically generated by the update-workflows-ecosystem-providers workflow in the pulumi/ci-mgmt repo, from commit 1634be575eb9b66834b4e22ee7c16570a86a0bc1.
- Loading branch information
1 parent
c76e476
commit 8a90726
Showing
43 changed files
with
460 additions
and
775 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 |
---|---|---|
|
@@ -38,7 +38,6 @@ name: warn-codegen | |
on: | ||
pull_request_target: | ||
branches: | ||
- main | ||
- master | ||
types: | ||
- opened |
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 |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# WARNING: This file is autogenerated - changes will be overwritten if not made via https://github.com/pulumi/ci-mgmt | ||
|
||
name: lint | ||
|
||
on: | ||
workflow_call: | ||
inputs: {} | ||
|
||
env: | ||
ARM_CLIENT_ID: 30e520fa-12b4-4e21-b473-9426c5ac2e1e | ||
ARM_CLIENT_SECRET: ${{ secrets.ARM_CLIENT_SECRET }} | ||
ARM_SUBSCRIPTION_ID: 0282681f-7a9e-424b-80b2-96babd57a8a1 | ||
ARM_TENANT_ID: 706143bc-e1d4-4593-aee2-c9dc60ab9be7 | ||
AWS_REGION: us-west-2 | ||
AZURE_LOCATION: westus | ||
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }} | ||
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }} | ||
DOTNETVERSION: | | ||
6.0.x | ||
3.1.301 | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GOOGLE_CI_SERVICE_ACCOUNT_EMAIL: [email protected] | ||
GOOGLE_CI_WORKLOAD_IDENTITY_POOL: pulumi-ci | ||
GOOGLE_CI_WORKLOAD_IDENTITY_PROVIDER: pulumi-ci | ||
GOOGLE_PROJECT: pulumi-ci-gcp-provider | ||
GOOGLE_PROJECT_NUMBER: 895284651812 | ||
GOOGLE_REGION: us-central1 | ||
GOOGLE_ZONE: us-central1-a | ||
GOVERSION: 1.21.x | ||
JAVAVERSION: "11" | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NODEVERSION: 16.x | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
NUGET_PUBLISH_KEY: ${{ secrets.NUGET_PUBLISH_KEY }} | ||
PUBLISH_REPO_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} | ||
PUBLISH_REPO_USERNAME: ${{ secrets.OSSRH_USERNAME }} | ||
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | ||
PULUMI_API: https://api.pulumi-staging.io | ||
PULUMI_GO_DEP_ROOT: /home/runner/work/pulumi-docker | ||
PULUMI_LOCAL_NUGET: ${{ github.workspace }}/nuget | ||
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} | ||
PYTHONVERSION: "3.9" | ||
SIGNING_KEY: ${{ secrets.JAVA_SIGNING_KEY }} | ||
SIGNING_KEY_ID: ${{ secrets.JAVA_SIGNING_KEY_ID }} | ||
SIGNING_PASSWORD: ${{ secrets.JAVA_SIGNING_PASSWORD }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} | ||
TF_APPEND_USER_AGENT: pulumi | ||
TRAVIS_OS_NAME: linux | ||
|
||
jobs: | ||
lint: | ||
name: lint | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
- name: Install go | ||
uses: actions/setup-go@v4 | ||
with: | ||
# The versions of golangci-lint and setup-go here cross-depend and need to update together. | ||
go-version: 1.21 | ||
# Either this action or golangci-lint needs to disable the cache | ||
cache: false | ||
- name: disarm go:embed directives to enable lint | ||
continue-on-error: true # this fails if there are no go:embed directives | ||
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 | ||
with: | ||
author_name: Failure in linting provider | ||
fields: repo,commit,author,action | ||
status: ${{ job.status }} |
Oops, something went wrong.