Skip to content

Improve error handling when TTL is invalid #124

Improve error handling when TTL is invalid

Improve error handling when TTL is invalid #124

Workflow file for this run

name: Pull Request Flow
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
format-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: "1.3.7"
- uses: actions/setup-node@v3
with:
node-version: "16.17.0"
- run: terraform fmt **/*.tf
- run: npm --prefix frontend ci
- run: npm --prefix frontend run-script fmt
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}
client-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16.17.0"
- run: cd frontend && npm install && npm test
go-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: "1.19"
- run: go test ./...