Add GitHub Pages content, linting + formatting checks, and code of co… #1
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: tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
pre_commit_checks: | |
runs-on: ubuntu-22.04 | |
steps: | |
# checks out the repo | |
- uses: actions/checkout@v4 | |
# setup python | |
- name: Python setup | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
# run pre-commit | |
- uses: pre-commit/[email protected] |