Skip to content

Commit 829bb49

Browse files
github workflows update
1 parent 06351bd commit 829bb49

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

.github/auto_assign.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
addReviewers: false
2+
addAssignees: true
3+
assignees:
4+
- franciscbalint
5+
numberOfAssignees: 1
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Auto Assign
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- synchronize
8+
- reopened
9+
10+
jobs:
11+
add-assignee:
12+
name: Auto assign (me only)
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: kentaro-m/auto-assign-action@v2.0.1
16+
with:
17+
configuration-path: ".github/auto_assign.yml"

.github/workflows/sdk_ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Run unit tests on every PR (-short skips integration tests that need API key).
2+
name: SDK CI
3+
4+
on:
5+
pull_request:
6+
types: [opened, synchronize, reopened]
7+
push:
8+
branches: [main, master]
9+
10+
jobs:
11+
test:
12+
name: Test
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Set up Go
18+
uses: actions/setup-go@v5
19+
with:
20+
go-version: "1.21"
21+
22+
- name: Run tests
23+
run: go test ./... -cover -short -v

0 commit comments

Comments
 (0)