1
0
Fork 0
mirror of https://github.com/actions/checkout.git synced 2025-04-01 22:10:06 +02:00
checkout/.github/workflows/test.yml
2020-02-28 13:24:15 -05:00

36 lines
717 B
YAML

name: Build and Test
on:
pull_request:
push:
branches:
- master
- releases/*
jobs:
test:
strategy:
matrix:
runs-on: [ubuntu-latest]
runs-on: ${{ matrix.runs-on }}
steps:
# Clone this repo
- name: Checkout
uses: actions/checkout@v2
# LFS
- name: LFS checkout
uses: ./
with:
repository: actions/checkout # hardcoded, otherwise doesn't work from a fork
ref: test-data/v2/lfs
path: lfs
lfs: true
- name: Verify LFS
shell: bash
run: __test__/verify-lfs.sh
- run: ls -la lfs/.git
- run: ls -la lfs/.git/lfs
- run: ls -la lfs/.git/lfs/objects