Skip to content

feat(custom_hostname_fallback_origin): add v4 to v5 migration logic #1103

feat(custom_hostname_fallback_origin): add v4 to v5 migration logic

feat(custom_hostname_fallback_origin): add v4 to v5 migration logic #1103

Workflow file for this run

name: CI
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: false
on:
workflow_dispatch: # Allow manual triggers
push:
branches:
- '**' # Run on all branches
pull_request:
branches:
- '**' # Run on PRs to any branch
jobs:
unit-tests:
name: Unit Tests
runs-on: large-runner
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
cache: true
- name: Get dependencies
run: |
go mod download
go mod tidy
- name: Run unit tests
run: make test-unit
lint-testdata:
name: Lint Testdata Naming
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
- name: Get dependencies
run: |
go mod download
go mod tidy
- name: Lint testdata naming conventions
run: make lint-testdata
integration-tests:
name: Integration Tests
runs-on: large-runner
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version-file: ./go.mod
cache: true
- name: Get dependencies
run: |
go mod download
go mod tidy
- name: Build tf-migrate binary
run: make build
- name: Run integration tests
run: make test-integration