Preserving the drift for secret key ECR type #2623
This file contains hidden or 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
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| build-with-coverage: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Unshallow | |
| run: git fetch --prune --unshallow | |
| - name: Configure git for private modules | |
| env: | |
| TOKEN: ${{ secrets.SPECTRO_TOKEN }} | |
| USER: ${{ secrets.SPECTRO_USER }} | |
| run: git config --global url."https://${USER}:${TOKEN}@github.com".insteadOf "https://github.com" | |
| - name: Set up Go | |
| uses: actions/setup-go@v3 | |
| with: | |
| go-version-file: go.mod | |
| - name: Install Terraform CLI | |
| uses: hashicorp/setup-terraform@v2 | |
| with: | |
| terraform_wrapper: false | |
| - name: Ensure reviewable | |
| run: make check-diff | |
| - name: Run acceptance tests | |
| run: make testacc |