diff options
| author | eric sciple <ericsciple@users.noreply.github.com> | 2019-12-12 13:16:16 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-12 13:16:16 -0500 |
| commit | 25ac60e43ded675f082e10f444b0ad95ea43622e (patch) | |
| tree | 4f254bf120e072e899f70c2646541eeec6fbbd63 /.github/workflows/test.yml | |
| parent | f60b14d6faba41537d0983497a96349d75b1b481 (diff) | |
fallback to REST API to download repo (#104)
Diffstat (limited to '.github/workflows/test.yml')
| -rw-r--r-- | .github/workflows/test.yml | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d740d8a..62dce24 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: steps: # Clone this repo - name: Checkout - uses: actions/checkout@v1 # todo: switch to V2 + uses: actions/checkout@v2-beta # Basic checkout - name: Basic checkout @@ -81,3 +81,24 @@ jobs: - name: Verify LFS shell: bash run: __test__/verify-lfs.sh + + test-job-container: + runs-on: ubuntu-latest + container: pstauffer/curl:latest + steps: + # Clone this repo + # todo: after v2-beta contains the latest changes, switch this to "uses: actions/checkout@v2-beta". Also switch to "alpine:latest" + - name: Checkout + run: | + curl --location --user token:${{ github.token }} --output checkout.tar.gz https://api.github.com/repos/actions/checkout/tarball/${{ github.sha }} + tar -xzf checkout.tar.gz + mv */* ./ + + # Basic checkout + - name: Basic checkout + uses: ./ + with: + ref: test-data/v2/basic + path: basic + - name: Verify basic + run: __test__/verify-basic.sh --archive |
