Add setup-qemu action (#71)

This commit is contained in:
CrazyMax 2020-08-11 10:45:13 +02:00
commit 34f453a5dc
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
14 changed files with 5770 additions and 0 deletions

View file

@ -0,0 +1,32 @@
name: setup-qemu-precheckin
on:
push:
paths:
- .github/workflows/setup-qemu-precheckin.yml
- setup-qemu/**
pull_request:
paths:
- .github/workflows/setup-qemu-precheckin.yml
- setup-qemu/**
jobs:
pre-checkin:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2.3.1
-
name: Install
run: yarn --cwd ./setup-qemu/ install
-
name: Pre-checkin
run: yarn --cwd ./setup-qemu/ run pre-checkin
-
name: Check for uncommitted changes
run: |
if [[ `git status --porcelain` ]]; then
git status --porcelain
echo "::warning::Found changes. Please run 'yarn --cwd ./setup-qemu/ run pre-checkin' and push"
fi