Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

ADMIN_PANEL_MANAGEMENT: updated chall.yaml for challenge static #479

ADMIN_PANEL_MANAGEMENT: updated chall.yaml for challenge static

ADMIN_PANEL_MANAGEMENT: updated chall.yaml for challenge static #479

# This workflow will verify any chall.yaml files it finds.
# For more information see: https://github.com/BCACTF/bcactf-2.0/pull/23#discussion_r626116130
name: Metadata verifier
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Check out verifier repo
uses: actions/checkout@v4
with:
repository: 'BCACTF/challenge-metadata-verifier'
path: 'challenge-metadata-verifier'
ssh-key: ${{secrets.VERIFIER_DEPLOY_KEY}}
- name: Set up Python 3.9
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Cache dependencies
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ hashFiles('challenge-metadata-verifier/requirements.txt') }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r challenge-metadata-verifier/requirements.txt
- name: Verify challenge metadata
run: |
python challenge-metadata-verifier/ci.py