Skip to content

new: Add cross repo testing for Release #1

new: Add cross repo testing for Release

new: Add cross repo testing for Release #1

name: Release Terraform cross repository test
on:
workflow_dispatch: # Manual trigger
jobs:
terraform_integration_test:
runs-on: ubuntu-latest
steps:
# - name: Checkout linodego repository
# uses: actions/checkout@v4
- name: checkout repo
uses: actions/checkout@v4
with:
repository: linode/terraform-provider-linode
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 'stable'
- run: go version

Check failure on line 22 in .github/workflows/release-cross-repo-test.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release-cross-repo-test.yml

Invalid workflow file

You have an error in your yaml syntax on line 22
- run: |
# cd .linode/terraform-provider-linode
make deps
- name: Update system packages
run: sudo apt-get update -y
- name: Install system deps
run: sudo apt-get install -y build-essential
# - name: Install linodego from source
# run: |
# curr_dir=$(pwd)
# cd .linode/terraform-provider-linode
# go mod edit -replace=github.com/linode/linodego=$curr_dir
- name: run tests
run: |
# cd .linode/terraform-provider-linode
make int-test
env:
LINODE_TOKEN: ${{ secrets.DX_LINODE_TOKEN }}