Read-only mirror — the public repositories of the Forgejo instance, refreshed every 10 minutes. The live instance (fg.dieschoenewolke.de) is reachable only over the VPN; clone here with https://git.dieschoenewolke.de/git/<owner>/<repo>.git.
summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authoreric sciple <ericsciple@users.noreply.github.com>2019-12-12 13:16:16 -0500
committerGitHub <noreply@github.com>2019-12-12 13:16:16 -0500
commit25ac60e43ded675f082e10f444b0ad95ea43622e (patch)
tree4f254bf120e072e899f70c2646541eeec6fbbd63 /.github
parentf60b14d6faba41537d0983497a96349d75b1b481 (diff)
fallback to REST API to download repo (#104)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml23
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