fix: proper error message for non-existing remote sources (#2360) #1068
This file contains hidden or 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
| # Copyright 2023 Terramate GmbH | |
| # SPDX-License-Identifier: MPL-2.0 | |
| name: interop | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - '**.go' | |
| - '**.tm' | |
| - '**.tm.hcl' | |
| workflow_dispatch: | |
| jobs: | |
| interop-tests: | |
| permissions: | |
| id-token: write # This is required for requesting the JWT | |
| contents: read # This is required for actions/checkout | |
| checks: read # This is required for fetching check runs. | |
| runs-on: blacksmith-4vcpu-ubuntu-2404 | |
| steps: | |
| - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # pin@v4 | |
| - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # pin@v5 | |
| with: | |
| go-version-file: 'go.mod' | |
| check-latest: true | |
| - name: run interop tests | |
| run: go test -v -count=1 -tags interop ./e2etests/cloud/interop/... | |
| env: | |
| TMC_API_HOST: api.stg.terramate.io | |
| TM_CLOUD_ORGANIZATION: test | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |