Add submodule for thirdweb-auth-next-auth. #7
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: Pre-commit Hooks | |
on: | |
push: | |
branches: [ main, feature/** ] | |
pull_request: | |
branches: [ main, feature/** ] | |
jobs: | |
run-hooks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 # Updated to the latest version | |
- name: Set up Python | |
uses: actions/setup-python@v3 # Updated to the latest version | |
with: | |
python-version: '3.9' | |
- name: Cache pre-commit environment | |
uses: actions/cache@v3 | |
with: | |
path: ~/.cache/pre-commit | |
key: ${{ runner.os }}-pre-commit-${{ hashFiles('.pre-commit-config.yaml') }} | |
restore-keys: | | |
${{ runner.os }}-pre-commit- | |
- name: Install pre-commit | |
run: pip install pre-commit | |
- name: Run pre-commit on all files | |
run: pre-commit run --all-files |