Skip to content

Add submodule for thirdweb-auth-next-auth. #7

Add submodule for thirdweb-auth-next-auth.

Add submodule for thirdweb-auth-next-auth. #7

Workflow file for this run

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