chains/.github/workflows/build.yml

26 lines
574 B
YAML
Raw Normal View History

name: Build
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2.3.1
with:
submodules: recursive
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v35.4.4
- name: Check changed files
run: |
for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
./gradlew clean run --args="verbose singleChainCheck $file"
done
- name: Build
run: |
./gradlew run