Add setup-buildx action (#71)

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax
2020-08-07 11:01:05 +02:00
parent 836357fa9e
commit 6df1822dc3
20 changed files with 11823 additions and 0 deletions

View File

@ -0,0 +1,32 @@
name: setup-buildx-precheckin
on:
push:
paths:
- .github/workflows/setup-buildx-precheckin.yml
- setup-buildx/**
pull_request:
paths:
- .github/workflows/setup-buildx-precheckin.yml
- setup-buildx/**
jobs:
pre-checkin:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2.3.1
-
name: Install
run: yarn --cwd ./setup-buildx/ install
-
name: Pre-checkin
run: yarn --cwd ./setup-buildx/ 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-buildx/ run pre-checkin' and push"
fi