Skip to content

fix

fix #64

name: Validate Artifacts
on: [push]
jobs:
validate_scw_artifact:
name: Validate SCW Artifact
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python 3.13
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r lib/requirements.txt
- name: Install requests library
run: |
pip install requests
- name: Create artifact json file
run: |
python3 -B lib/generate_artifacts.py
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: Secure Code Warrior Links
path: scw_links.json
- name: Validate links
run: |
python3 -B lib/validate_artifacts.py