1
0
Fork 0
forked from infra/keys
keys/.forgejo/workflows/verify.yml

29 lines
No EOL
740 B
YAML

on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build-latex:
name: Verify SSH keys
runs-on: alpine
container:
image: alpine:latest
defaults:
run:
shell: ash -eo pipefail {0}
steps:
- name: Install dependencies
run: |
apk add --no-cache nodejs git openssh python3 py3-pip
- name: Create virtualenv and install Python dependencies
run:
python -m venv venv
. venv/bin/activate
pip install --upgrade GitPython requests
- name: Checkout repository
uses: actions/checkout@v4
- name: Run verification script
run: . venv/bin/activate && python verify.py