0
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2024-12-22 23:55:47 +02:00
checkout/.github/workflows/test.yml

33 lines
713 B
YAML
Raw Normal View History

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