CI and scripts and readme and such
This commit is contained in:
parent
476cb92216
commit
1bfc9528f5
6 changed files with 239 additions and 2 deletions
29
.forgejo/workflows/verify.yml
Normal file
29
.forgejo/workflows/verify.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue