This repository has been archived by the owner on Mar 8, 2024. It is now read-only.
Custom Domain Testing #315
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
# If the workflow trigger is "pull_request" or "merge_group", run the pre-commit checks. | |
# Also run it on pushes to main, so that caches are created from the main branch, which will let child branches use them | |
name: pre-commit | |
on: | |
pull_request: | |
merge_group: | |
jobs: | |
common: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: cache | |
uses: ./.github/actions/cache | |
with: | |
action: restore | |
- name: pre-commit | |
uses: ./.github/actions/pre-commit | |
with: | |
check-type: common | |
terraform: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: cache | |
uses: ./.github/actions/cache | |
with: | |
action: restore | |
- name: pre-commit | |
uses: ./.github/actions/pre-commit | |
with: | |
check-type: terraform | |
renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: cache | |
uses: ./.github/actions/cache | |
with: | |
action: restore | |
- name: pre-commit | |
uses: ./.github/actions/pre-commit | |
with: | |
check-type: renovate |