2019-12-03 10:28:59 -05:00
|
|
|
name: Build and Test
|
|
|
|
|
2019-10-25 10:52:59 -04:00
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
2019-12-03 10:28:59 -05:00
|
|
|
- releases/*
|
2019-12-10 21:01:08 -05:00
|
|
|
- users/*
|
2019-10-25 10:52:59 -04:00
|
|
|
|
|
|
|
jobs:
|
2019-12-10 21:01:08 -05:00
|
|
|
test-archive:
|
|
|
|
runs-on: windows-latest
|
2019-10-25 10:52:59 -04:00
|
|
|
steps:
|
2019-12-03 10:28:59 -05:00
|
|
|
# Clone this repo
|
|
|
|
- name: Checkout
|
|
|
|
shell: bash
|
2019-12-09 16:54:42 -05:00
|
|
|
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
|
2019-12-10 21:01:08 -05:00
|
|
|
shell: bash
|
2019-12-09 16:54:42 -05:00
|
|
|
run: __test__/verify-basic.sh container
|