Skip to content

Commit 599736d

Browse files
committed
2 parents d441800 + 6461294 commit 599736d

3 files changed

Lines changed: 22 additions & 1 deletion

File tree

.github/workflows/test.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Test
2+
on:
3+
pull_request:
4+
env:
5+
GO_VERSION: "1.17"
6+
jobs:
7+
test:
8+
name: Test
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up Go
13+
uses: actions/setup-go@v2
14+
with:
15+
go-version: ${{ env.GO_VERSION }}
16+
- name: Set up go-commitlinter
17+
run: go install github.com/masahiro331/go-commitlinter@0.0.1
18+
- name: Run Pull Request Lint
19+
run: echo $TITLE | go-commitlinter
20+
env:
21+
TITLE: ${{ github.event.pull_request.title }}

hoge

Whitespace-only changes.

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,4 +265,4 @@ func finally(m string, conf Config, err error) {
265265

266266
func main() {
267267
finally(run())
268-
}
268+
}

0 commit comments

Comments
 (0)