From 702aae5b2f9b6bf87f1223b2fdd37406d3bd68fa Mon Sep 17 00:00:00 2001 From: Oscar Hermoso Date: Fri, 27 Sep 2024 08:27:01 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20release.yml=20depending=20?= =?UTF-8?q?on=20test.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/release.yml | 3 ++- .github/workflows/{test.yaml => test.yml} | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) rename .github/workflows/{test.yaml => test.yml} (95%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f60ae65..8e71405 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,10 +15,11 @@ permissions: jobs: test: - uses: ./.github/workflows/test.yaml + uses: ./.github/workflows/test.yml secrets: inherit goreleaser: + needs: test runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yml similarity index 95% rename from .github/workflows/test.yaml rename to .github/workflows/test.yml index 70ba654..6bc7585 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yml @@ -3,8 +3,9 @@ name: Terraform Provider Tests on: pull_request: paths: - - '.github/workflows/test.yaml' + - '.github/workflows/test.yml' - '**.go' + workflow_call: permissions: # Permission for checking out code