FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sdk/.github/workflows/pre-commit.yaml at main · dreadnode/sdk · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
dreadnode
/
sdk
Public
Notifications
You must be signed in to change notification settings
Fork
3
Star
29
Code
Issues
1
Pull requests
31
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Security and quality
Insights
Expand file tree
Breadcrumbs
sdk
/
.github
/
workflows
/
pre-commit.yaml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
50 lines (43 loc) · 1.15 KB
Breadcrumbs
sdk
/
.github
/
workflows
/
pre-commit.yaml
Copy path
File metadata and controls
50 lines (43 loc) · 1.15 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
name
:
Pre-Commit
on
:
merge_group
:
pull_request
:
branches
:
-
main
types
:
-
opened
-
synchronize
-
reopened
push
:
branches
:
-
main
schedule
:
#
Run once a week (see https://crontab.guru)
-
cron
:
"
0 0 * * 0
"
workflow_dispatch
:
concurrency
:
cancel-in-progress
:
true
group
:
pre-commit-${{ github.workflow }}-${{ github.ref }}
env
:
PYTHON_VERSION
:
3.12.6
jobs
:
pre-commit
:
name
:
Pre-commit
runs-on
:
ubuntu-latest
steps
:
-
name
:
Checkout code
uses
:
actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803
#
v6.1.0
-
name
:
Install uv
uses
:
astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78
#
v7.6.0
with
:
version
:
"
latest
"
python-version
:
${{ env.PYTHON_VERSION }}
-
name
:
Sync packages
run
:
uv sync --all-extras
-
uses
:
actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
#
v4.3.0
with
:
path
:
~/.cache/pre-commit
key
:
pre-commit|${{ env.PYTHON_VERSION }}|${{ hashFiles('.pre-commit-config.yaml') }}
-
name
:
Run pre-commit
run
:
uv run pre-commit run --all-files
Back
|
FazBrowse Home
|
New Git URL