From d2f7a4d1d3ffbf24ab13c4e8207e1808a01e4b76 Mon Sep 17 00:00:00 2001 From: Rudra Gupta Date: Fri, 27 Sep 2024 10:39:11 -0400 Subject: [PATCH] feat: add install step Signed-off-by: Rudra Gupta --- .github/workflows/check-compliance.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/.github/workflows/check-compliance.yml b/.github/workflows/check-compliance.yml index 7e5d31d..58c5513 100644 --- a/.github/workflows/check-compliance.yml +++ b/.github/workflows/check-compliance.yml @@ -11,7 +11,23 @@ permissions: contents: read jobs: + install: + runs-on: ubuntu-latest + steps: + - name: Download and run Privateer install script + run: | + curl -sSL https://raw.githubusercontent.com/privateerproj/privateer/03ced90caae9f3c9203eb7f82f2c46ccf2ff15fc/install.sh | bash + + - name: Verify Privateer installation + run: | + privateer version + + - name: Run Privateer help + run: | + privateer help + build-privateer: + if: github.repository == 'octo-org/octo-repo-prod' runs-on: ubuntu-latest steps: - name: Checkout Privateer repository @@ -54,6 +70,7 @@ jobs: path: privateer/test_harness.tar build-azure-blob-storage: + if: github.repository == 'octo-org/octo-repo-prod' runs-on: ubuntu-latest steps: - name: Checkout Azure Blob Storage repository @@ -157,6 +174,7 @@ jobs: working-directory: examples/basic check-compliance: + if: github.repository == 'octo-org/octo-repo-prod' needs: [build-privateer, build-azure-blob-storage] runs-on: ubuntu-latest steps: