Add basic tests for event sourcing. #111
Workflow file for this run
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: "Run pre-commit" | |
on: | |
push: | |
jobs: | |
pre_commit: | |
name: pre-commit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v3 | |
with: | |
python-version: "3.11" | |
- name: Cache pre-commit | |
uses: actions/cache@v2 | |
with: | |
key: ${{ runner.os }}-py3.11-pip-${{ hashFiles('.pre-commit-config.yaml') }} | |
path: | | |
~/.cache/pre-commit | |
~/.cache/pip | |
- name: Run pre-commit | |
run: | | |
pip install pre-commit | |
pre-commit run --all-files |