mirror of
https://github.com/actions/checkout.git
synced 2025-03-31 05:20:06 +02:00
35 lines
672 B
YAML
35 lines
672 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 .git
|
|
- run: ls -la .git/objects
|