mirror of
https://github.com/Instadapp/chains.git
synced 2024-07-29 22:37:19 +00:00
26 lines
574 B
YAML
26 lines
574 B
YAML
|
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
|
||
|
|