From d1b9509a2a828458dd12eebb8932ca7ead7d854a Mon Sep 17 00:00:00 2001 From: Dawid Dziurla Date: Thu, 26 Mar 2020 16:56:31 +0100 Subject: [PATCH] workflows: don't checkout the action code manually --- .github/workflows/test.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2b62c7a..cac1846 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,12 +23,8 @@ jobs: with: repository: ${{matrix.repo}} ref: ${{matrix.ref}} - - name: Checkout code - uses: actions/checkout@v2 - with: - path: action - name: Test run - uses: ./action + uses: ${{github.repository}}@${{github.sha}} - name: Check files run: | ls -lh ${{matrix.package}}_*.* @@ -52,12 +48,8 @@ jobs: with: repository: ${{matrix.repo}} ref: ${{matrix.ref}} - - name: Checkout code - uses: actions/checkout@v2 - with: - path: action - name: Test run - uses: ./action + uses: ${{github.repository}}@${{github.sha}} with: artifacts_directory: artifacts - name: Check files