Skip to content

v1.14 - 2024-07-09

v1.14 - 2024-07-09 #42

name: Validate Artifacts
on:
push:
branches:
- master
release:
types:
- created
- edited
- unpublished
jobs:
validate_scw_artifact:
name: Validate SCW Artifact
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.11
uses: actions/setup-python@v1
with:
python-version: 3.11
- 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@v1
with:
name: Secure Code Warrior Links
path: scw_links.json
- name: Validate links
run: |
python3 -B lib/validate_artifacts.py