Skip to content

Commit 7a2ba7c

Browse files
authored
Merge pull request #71 from johejo/fix/gh_actions_test_failure
fix test failure with #70
2 parents fc90f6e + c9db51b commit 7a2ba7c

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: test
22

33
on:
4+
pull_request:
5+
branches: [master]
46
push:
7+
branches: [master]
58
paths:
69
- '**.go'
710
- '.github/workflows/test.yml'
@@ -13,7 +16,7 @@ jobs:
1316
- name: Setup Go
1417
uses: actions/setup-go@v1
1518
with:
16-
go-version: 1.13
19+
go-version: '1.14.x'
1720
- name: Checkout
1821
uses: actions/checkout@v2
1922
- name: Test

ci_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,9 @@ func TestGitHubActions(t *testing.T) {
740740
ci: CI{
741741
PR: PullRequest{
742742
Revision: "abcdefg",
743-
Number: 0,
743+
Number: 0,
744744
},
745-
URL: "https://github.com/mercari/tfnotify/runs/12345",
745+
URL: "https://github.com/mercari/tfnotify/actions/runs/12345",
746746
},
747747
ok: true,
748748
},

0 commit comments

Comments
 (0)