-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 950 Bytes
/
ty.yaml
File metadata and controls
41 lines (38 loc) · 950 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
name: ty
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "tasks/make_boundaries/**"
- "scripts/**"
pull_request:
types: [opened, synchronize]
paths:
- "tasks/make_boundaries/**"
- "scripts/**"
permissions:
contents: write
pull-requests: write
id-token: write
jobs:
ty:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98
- uses: astral-sh/setup-uv@d7fe1a5a186096cccdd5fa2252d223b54fa53a72
with:
enable-cache: true
- name: uv sync tasks
working-directory: tasks/make_boundaries
run: uv sync
- name: ty check tasks
working-directory: tasks/make_boundaries
run: uvx ty check src
- name: uv sync scripts
working-directory: scripts
run: uv sync
- name: ty check scripts
working-directory: scripts
run: uvx ty check