chore(repo): Move other dotfiles to reduce directory size of root (#3780)

Brings README content further up for our repo visitors.
This commit is contained in:
Jamil
2024-02-27 09:23:17 -08:00
committed by GitHub
parent 7c296494bd
commit 6a896af638
6 changed files with 7 additions and 10 deletions

View File

View File

@@ -3,6 +3,7 @@ repos:
hooks:
- id: codespell
name: "python: codespell"
args: [--config=.github/codespellrc]
entry: codespell
language: system
pass_filenames: false

View File

@@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v4
- name: Check version is up to date
run: |
make version
make -f scripts/Makefile version
if [ -z "$(git status --porcelain)" ]; then
# Working directory clean
echo "Version manifests up to date"
@@ -40,23 +40,23 @@ jobs:
name: Restore Python Cache
with:
path: ~/.cache/pip
key: ubuntu-22.04-${{ runner.arch }}-pip-${{ hashFiles('requirements.txt') }}
key: ubuntu-22.04-${{ runner.arch }}-pip-${{ hashFiles('.github/requirements.txt') }}
restore-keys: |
ubuntu-22.04-${{ runner.arch }}-pip-
- name: Install Python Dependencies
run: |
pip install -r requirements.txt
pip install -r .github/requirements.txt
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y shfmt
- name: Run pre-commit
run: |
pre-commit install
SKIP=no-commit-to-branch pre-commit run --all-files
pre-commit install --config .github/pre-commit-config.yaml
SKIP=no-commit-to-branch pre-commit run --all-files --config .github/pre-commit-config.yaml
- uses: actions/cache/save@v4
if: ${{ github.ref == 'refs/heads/main' }}
name: Save Python Cache
with:
path: ~/.cache/pip
key: ubuntu-22.04-${{ runner.arch }}-pip-${{ hashFiles('requirements.txt') }}
key: ubuntu-22.04-${{ runner.arch }}-pip-${{ hashFiles('.github/requirements.txt') }}

View File

@@ -1,4 +0,0 @@
extends: default
rules:
line-length: disable