Skip to content

v1.13 - 2024-04-02

v1.13 - 2024-04-02 #37

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.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- 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