File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 36
36
steps :
37
37
- name : Checkout repository
38
38
uses : actions/checkout@v3
39
+ with :
40
+ ref : " refs/pull/${{ github.event.number }}/merge"
39
41
40
42
# Initializes the CodeQL tools for scanning.
41
43
- name : Initialize CodeQL
Original file line number Diff line number Diff line change 12
12
13
13
- name : Checkout
14
14
uses : actions/checkout@v3
15
-
16
- - name : Unshallow
17
- run : git fetch --prune --unshallow
15
+ with :
16
+ fetch-depth : 0
17
+ ref : " refs/pull/${{ github.event.number }}/merge "
18
18
19
19
- name : Install semantic-release
20
20
run : yarn global add --no-progress --non-interactive "semantic-release" "@semantic-release/exec"
31
31
steps :
32
32
- name : Checkout
33
33
uses : actions/checkout@v3
34
-
35
- - name : Unshallow
36
- run : git fetch --prune --unshallow
34
+ with :
35
+ fetch-depth : 0
36
+ ref : " refs/pull/${{ github.event.number }}/merge "
37
37
38
38
- name : Set up Go
39
39
uses : actions/setup-go@v2.1.4
Original file line number Diff line number Diff line change 22
22
23
23
- name : Checkout
24
24
uses : actions/checkout@v3
25
+ with :
26
+ fetch-depth : 0
25
27
26
28
- name : golangci-lint
27
29
uses : golangci/golangci-lint-action@v2.5.2
41
43
42
44
- name : Checkout
43
45
uses : actions/checkout@v3
46
+ with :
47
+ ref : " refs/pull/${{ github.event.number }}/merge"
44
48
45
49
- name : Test
46
50
run : go test -coverprofile cover.out ./...
You can’t perform that action at this time.
0 commit comments