1
0
Fork 0
mirror of https://github.com/NeoCloud/NeoNetwork synced 2024-11-23 04:00:41 +08:00
NeoNetwork/.github/workflows/test-your-pr.yml
2020-07-26 20:54:31 +08:00

36 lines
725 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.md
- uses: actions/upload-artifact@v2
with:
name: generated
path: generated