mirror of
https://github.com/cisagov/log4j-affected-db.git
synced 2024-11-23 00:50:48 +00:00
26 lines
470 B
YAML
26 lines
470 B
YAML
|
---
|
||
|
name: build
|
||
|
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
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 --upgrade -r requirements-test.txt
|
||
|
|
||
|
- name: Run pre-commit on all files
|
||
|
run: pre-commit run --all-files
|