mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
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:
0
.codespellrc → .github/codespellrc
vendored
0
.codespellrc → .github/codespellrc
vendored
@@ -3,6 +3,7 @@ repos:
|
||||
hooks:
|
||||
- id: codespell
|
||||
name: "python: codespell"
|
||||
args: [--config=.github/codespellrc]
|
||||
entry: codespell
|
||||
language: system
|
||||
pass_filenames: false
|
||||
12
.github/workflows/_static-analysis.yml
vendored
12
.github/workflows/_static-analysis.yml
vendored
@@ -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') }}
|
||||
|
||||
Reference in New Issue
Block a user