Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't error for (local) repos with no rev key #23

Merged
merged 4 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/githubci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
with:
path: "actions-ci"
- uses: actions/setup-python@v5
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using semvers version range syntax.
architecture: 'x64' # optional x64 or x86. Defaults to x64 if not specified
- name: pre-install
run: |
source install.sh
touch requirements.txt # Empty requirements expected by install.sh
source actions-ci/install.sh
2 changes: 1 addition & 1 deletion print_precommit_versions.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ class PreCommitRepo(TypedDict):

print("Using the following pre-commit hook versions:")
for repo in repos:
print(f' * {repo["repo"]} @ {repo["rev"]}')
print(f' * {repo["repo"]} @ {repo.get("rev")}')