update flow of wait timeout; creates tfstate after TF timeout #1767
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
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
markdown-link-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Run markdown link checker | |
uses: gaurav-nelson/github-action-markdown-link-check@d53a906aa6b22b8979d33bc86170567e619495ec # 1.0.15 | |
with: | |
config-file: '.github/workflows/markdown.links.config.json' | |
folder-path: 'website/' | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Set up Go | |
uses: actions/setup-go@fac708d6674e30b6ba41289acaab6d4b75aa0753 # v4.0.1 | |
with: | |
go-version-file: 'go.mod' | |
# Secrets are not available on pull requests. | |
- name: Login to Docker Hub | |
if: github.ref == 'refs/heads/main' | |
uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc # v2.2.0 | |
with: | |
username: ${{ secrets.RO_DOCKERHUB_USER }} | |
password: ${{ secrets.RO_DOCKERHUB_TOKEN }} | |
- name: Checkout code | |
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- name: Install cookie | |
run: scripts/gogetcookie.sh | |
- name: Run tests | |
run: | | |
make website-lint | |
make depscheck | |
make fmtcheck | |
make test | |
make test-compile | |
make tests-lint | |
make vet |