|
|
|
@ -4,12 +4,12 @@ on:
|
|
|
|
|
pull_request:
|
|
|
|
|
branches-ignore:
|
|
|
|
|
- stable-website
|
|
|
|
|
- 'docs/**'
|
|
|
|
|
- 'ui/**'
|
|
|
|
|
- 'mktg-**' # Digital Team Terraform-generated branches' prefix
|
|
|
|
|
- 'backport/docs/**'
|
|
|
|
|
- 'backport/ui/**'
|
|
|
|
|
- 'backport/mktg-**'
|
|
|
|
|
- "docs/**"
|
|
|
|
|
- "ui/**"
|
|
|
|
|
- "mktg-**" # Digital Team Terraform-generated branches' prefix
|
|
|
|
|
- "backport/docs/**"
|
|
|
|
|
- "backport/ui/**"
|
|
|
|
|
- "backport/mktg-**"
|
|
|
|
|
push:
|
|
|
|
|
branches:
|
|
|
|
|
# Push events on the main branch
|
|
|
|
@ -81,7 +81,7 @@ jobs:
|
|
|
|
|
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
|
|
|
|
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
|
|
|
with:
|
|
|
|
|
go-version-file: 'go.mod'
|
|
|
|
|
go-version-file: "go.mod"
|
|
|
|
|
- run: make proto-tools
|
|
|
|
|
name: Install protobuf
|
|
|
|
|
- run: make proto-format
|
|
|
|
@ -109,7 +109,7 @@ jobs:
|
|
|
|
|
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
|
|
|
|
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
|
|
|
with:
|
|
|
|
|
go-version-file: 'go.mod'
|
|
|
|
|
go-version-file: "go.mod"
|
|
|
|
|
- run: make --always-make deep-copy
|
|
|
|
|
- run: |
|
|
|
|
|
if ! git diff --exit-code; then
|
|
|
|
@ -132,7 +132,7 @@ jobs:
|
|
|
|
|
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
|
|
|
|
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
|
|
|
with:
|
|
|
|
|
go-version-file: 'go.mod'
|
|
|
|
|
go-version-file: "go.mod"
|
|
|
|
|
- run: go install github.com/reillywatson/enumcover/cmd/enumcover@master && enumcover ./...
|
|
|
|
|
- name: Notify Slack
|
|
|
|
|
if: ${{ failure() }}
|
|
|
|
@ -149,7 +149,7 @@ jobs:
|
|
|
|
|
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
|
|
|
|
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
|
|
|
with:
|
|
|
|
|
go-version-file: 'go.mod'
|
|
|
|
|
go-version-file: "go.mod"
|
|
|
|
|
- run: make lint-container-test-deps
|
|
|
|
|
- name: Notify Slack
|
|
|
|
|
if: ${{ failure() }}
|
|
|
|
@ -167,8 +167,8 @@ jobs:
|
|
|
|
|
run: git config --global url."https://${{ secrets.ELEVATED_GITHUB_TOKEN }}:@github.com".insteadOf "https://github.com"
|
|
|
|
|
- uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1
|
|
|
|
|
with:
|
|
|
|
|
go-version-file: 'go.mod'
|
|
|
|
|
- run: go install github.com/hashicorp/lint-consul-retry@master && lint-consul-retry
|
|
|
|
|
go-version-file: "go.mod"
|
|
|
|
|
- run: go install github.com/hashicorp/lint-consul-retry@v1.3.0 && lint-consul-retry
|
|
|
|
|
- name: Notify Slack
|
|
|
|
|
if: ${{ failure() }}
|
|
|
|
|
run: .github/scripts/notify_slack.sh
|
|
|
|
|