Skip to content

Commit 6e7f31e

Browse files
committed
consolidate workflows for mypy and ruf
1 parent 58683f6 commit 6e7f31e

2 files changed

Lines changed: 21 additions & 34 deletions

File tree

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,34 @@
1-
---
2-
name: ruff
1+
name: CI
32

43
on:
5-
pull_request:
4+
push:
65
branches:
76
- main
8-
9-
permissions:
10-
contents: read
7+
pull_request:
8+
types:
9+
- opened
10+
- synchronize
1111

1212
defaults:
1313
run:
1414
shell: bash
1515

16+
permissions:
17+
contents: read
18+
1619
jobs:
17-
ci:
20+
mypy:
21+
runs-on: ubuntu-latest
22+
steps:
23+
# Checkout the code
24+
- uses: actions/checkout@v6
25+
- uses: jpetrucciani/mypy-check@master
26+
with:
27+
path: 'python/runfiles'
28+
- uses: jpetrucciani/mypy-check@master
29+
with:
30+
path: 'tests/runfiles'
31+
ruff:
1832
runs-on: ubuntu-latest
1933
steps:
2034
- uses: actions/checkout@v6

.github/workflows/mypy.yaml

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)