2020-05-01 17:45:30 +08:00
|
|
|
# This is a basic workflow to help you get started with Actions
|
|
|
|
|
|
|
|
name: Test Your PR
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Generate ROA
|
2020-06-04 11:53:59 +08:00
|
|
|
runs-on: ubuntu-20.04
|
2020-05-01 17:45:30 +08:00
|
|
|
|
|
|
|
steps:
|
2020-05-23 19:00:02 +08:00
|
|
|
- uses: actions/checkout@master
|
|
|
|
with:
|
|
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
2020-05-01 17:45:30 +08:00
|
|
|
|
2020-05-23 19:00:02 +08:00
|
|
|
- name: Install dependencies
|
|
|
|
shell: bash
|
|
|
|
run: |
|
|
|
|
sudo apt update -qq
|
2020-07-21 00:20:25 +08:00
|
|
|
sudo apt install -y git python3 python3-venv openssh-client
|
2020-05-01 17:45:30 +08:00
|
|
|
|
2020-07-21 00:19:10 +08:00
|
|
|
- name: Run ROA script
|
2020-05-23 19:00:02 +08:00
|
|
|
shell: bash
|
2020-07-21 00:19:10 +08:00
|
|
|
run: .scripts/generate-roa.sh
|