-
Notifications
You must be signed in to change notification settings - Fork 10
48 lines (39 loc) · 1013 Bytes
/
Copy pathcode-linting-checks.yaml
File metadata and controls
48 lines (39 loc) · 1013 Bytes
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
name: "code-linting-checks"
on:
pull_request:
paths:
- "**/*.py"
- "**/*.pyi"
- "**/*.yaml"
push:
paths:
- "**/*.py"
- "**/*.pyi"
- "**/*.yaml"
schedule:
# Run daily at 00:15 UTC (the 15 is to avoid periods of high load)
- cron: "15 0 * * *"
workflow_dispatch:
permissions: {}
concurrency:
group: "${{github.workflow}}-${{github.ref}}"
# Cancel in-progress jobs for efficiency
cancel-in-progress: true
jobs:
lint-check:
strategy:
matrix:
os:
- "macos-15"
- "ubuntu-24.04"
runs-on: "${{matrix.os}}"
steps:
- uses: "actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd" # v6.0.2
with:
submodules: "recursive"
- uses: "./exports/github/actions/install-go-task"
- uses: "./exports/github/actions/install-uv"
- uses: "./exports/github/actions/print-tool-versions"
- name: "Run lint task"
shell: "bash"
run: "task lint:check"