1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-15 00:42:23 +08:00
NeoNetwork/.github/workflows/test-your-pr.yml
2020-07-26 19:37:09 +08:00

36 lines
726 B
YAML

name: Test Your PR
on:
pull_request:
branches: [master]
jobs:
build:
name: Generate ROA
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/checkout@v2
with:
repository: NeoCloud/NeoNetwork-ROA
path: generated
- uses: actions/setup-python@v2
with:
python-version: 3.x
architecture: x64
- run: pip install -r .scripts/requirements.txt
- run: .scripts/generate-roa.sh
- run: git -C generated diff README.txt
- uses: actions/upload-artifact@v2
with:
name: generated
path: generated