Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

[pre-commit.ci] pre-commit autoupdate #116

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #116

Workflow file for this run

---
name: Validate local database
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip
cache-dependency-path: |
requirements*.txt
- name: Install dependencies
run: pip install -r requirements.txt
- name: Lint repository
run: pre-commit run --all-files
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: pip
cache-dependency-path: |
requirements*.txt
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run database ingestion tasks
run: |
invoke validate-entries