From 4e451f6a8bd91b4af27bdae7e8d4f77f371393a7 Mon Sep 17 00:00:00 2001 From: Eyal Delarea Date: Mon, 9 Sep 2024 15:03:44 +0300 Subject: [PATCH] Update Tests Local RT Setup action (#103) --- .github/workflows/tests.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b5fdde5c..80562b8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: Install Java uses: actions/setup-java@v4 @@ -30,12 +32,9 @@ jobs: cache: false - name: Setup Artifactory - run: | - go install github.com/jfrog/jfrog-testing-infra/local-rt-setup@latest - ~/go/bin/local-rt-setup - env: - RTLIC: ${{secrets.RTLIC}} - GOPROXY: direct + uses: jfrog/.github/actions/install-local-artifactory@main + with: + RTLIC: ${{ secrets.RTLIC }} - name: Run tests env: