Allow for arbitrary headers #569
Workflow file for this run
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
name: Acceptance | |
on: | |
push: | |
branches: | |
- "*" | |
pull_request: | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
concurrency: | |
group: global | |
timeout-minutes: 60 | |
steps: | |
- name: Install Go 1.19 | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.19 | |
id: go | |
- uses: actions/checkout@v3 | |
- name: Run tests | |
run: | | |
TF_ACC=1 go test -v ./... -parallel=32 -timeout=30m | |
env: | |
CLOUDSMITH_API_KEY: ${{ secrets.CLOUDSMITH_API_KEY }} | |
CLOUDSMITH_NAMESPACE: terraform-provider-testing | |
- name: Notify Slack on Success | |
if: success() | |
uses: rtCamp/[email protected] | |
env: | |
SLACK_ICON: https://avatars0.githubusercontent.com/u/44036562?s=200&v=4 | |
SLACK_TITLE: Workflow Succeeded | |
SLACK_USERNAME: Github Actions | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
- name: Notify Slack on Failure | |
if: failure() | |
uses: rtCamp/[email protected] | |
env: | |
SLACK_COLOR: danger | |
SLACK_ICON: https://avatars0.githubusercontent.com/u/44036562?s=200&v=4 | |
SLACK_TITLE: Workflow Failed | |
SLACK_USERNAME: Github Actions | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} |