-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.06 KB
/
publication-checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Publication Checks
on:
push:
branches:
- 'propose/**'
workflow_dispatch:
jobs:
Check:
name: Run automated checks on proposed OIDF specs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Checkout
uses: actions/checkout@v4
with:
repository: openid/publication-checks
path: openid-workflow
ssh-key: ${{ secrets.OPENID_PUBLICATION_DEPLOY_KEY }}
- name: Run 'tree' tool
run: |
sudo apt-get install tree -y
tree
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install Python requirements
run: |
cd ./openid-workflow
python -m pip install --upgrade pip
pip install -r requirements.txt
echo "::set-output name=path::$(which python)"
- name: Run OpenID pre-publication checks
run : |
cd ./openid-workflow
chmod +x ./process.sh
./process.sh