Skip to content

Commit 965f6dd

Browse files
committed
run linting and testing only once in CI
1 parent d08a159 commit 965f6dd

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Diff for: .github/workflows/lint.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Check formatting
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
lint:

Diff for: .github/workflows/test.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
name: Run tests
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
410

511
jobs:
612
test:

0 commit comments

Comments
 (0)