Merge 265f41a5fc344a0bac82bdeefd4238afcc28bfe9 into feature/242 #373
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Label Audit | |
on: [push] | |
jobs: | |
labels: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-python@v1 | |
with: | |
python-version: '3.8' | |
- name: Determine Python Version | |
id: python-version | |
run: | | |
echo "::set-output name=ver::$(python --version)" | |
- uses: actions/cache@v2 | |
with: | |
path: venv | |
key: ${{ runner.os }}-${{ steps.python-version.outputs.ver }}_${{ hashFiles('requirements.txt') }} | |
- name: Install Packages | |
run: | | |
python3 -m venv venv | |
venv/bin/pip install -r requirements.txt | |
- name: Label Audit | |
run: | | |
venv/bin/python scripts/label_audit.py |