File tree 5 files changed +23
-0
lines changed 5 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 19
19
uses : actions/checkout@v3
20
20
with :
21
21
ref : ${{ github.head_ref }}
22
+ persist-credentials : false
23
+
22
24
- name : check diff
23
25
id : check_diff
24
26
run : |
@@ -45,11 +47,13 @@ jobs:
45
47
echo '> yes'
46
48
echo "result=bump" >> "$GITHUB_OUTPUT"
47
49
fi
50
+
48
51
- name : Install Node.js 16
49
52
if : steps.check_diff.outputs.result == 'bump'
50
53
uses : actions/setup-node@v3
51
54
with :
52
55
node-version : 16
56
+
53
57
- name : bump version in params/version.go
54
58
if : steps.check_diff.outputs.result == 'bump'
55
59
run : node .github/scripts/bump_version_dot_go.mjs
Original file line number Diff line number Diff line change 19
19
steps :
20
20
- name : Checkout code
21
21
uses : actions/checkout@v2
22
+ with :
23
+ persist-credentials : false
22
24
23
25
- name : Set up QEMU
24
26
run : |
Original file line number Diff line number Diff line change 13
13
steps :
14
14
- name : Checkout code
15
15
uses : actions/checkout@v2
16
+ with :
17
+ persist-credentials : false
16
18
17
19
- name : Set up QEMU
18
20
uses : docker/setup-qemu-action@2b82ce82d56a2a04d2637cd93a637ae1b359c0a7 # v2.2.0
21
23
uses : docker/setup-buildx-action@885d1462b80bc1c1c7f0b00334ad271f09369c55 # v2.10.0
22
24
with :
23
25
cache-binary : false
26
+
24
27
- name : Extract docker metadata
25
28
id : meta
26
29
uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
Original file line number Diff line number Diff line change 25
25
26
26
- name : Checkout code
27
27
uses : actions/checkout@v2
28
+ with :
29
+ persist-credentials : false
28
30
29
31
- name : Build
30
32
run : |
48
50
49
51
- name : Checkout code
50
52
uses : actions/checkout@v2
53
+ with :
54
+ persist-credentials : false
51
55
52
56
- name : Build
53
57
run : |
66
70
67
71
- name : Checkout code
68
72
uses : actions/checkout@v2
73
+ with :
74
+ persist-credentials : false
69
75
70
76
- name : Lint
71
77
run : |
86
92
87
93
- name : Checkout code
88
94
uses : actions/checkout@v2
95
+ with :
96
+ persist-credentials : false
89
97
90
98
- run : goimports -local github.com/scroll-tech/go-ethereum/ -w .
91
99
@@ -107,6 +115,8 @@ jobs:
107
115
108
116
- name : Checkout code
109
117
uses : actions/checkout@v2
118
+ with :
119
+ persist-credentials : false
110
120
111
121
- run : go mod tidy
112
122
@@ -128,6 +138,8 @@ jobs:
128
138
129
139
- name : Checkout code
130
140
uses : actions/checkout@v2
141
+ with :
142
+ persist-credentials : false
131
143
132
144
- name : Test
133
145
run : |
Original file line number Diff line number Diff line change 21
21
image : returntocorp/semgrep
22
22
steps :
23
23
- uses : actions/checkout@v3
24
+ with :
25
+ persist-credentials : false
24
26
- run : semgrep ci
You can’t perform that action at this time.
0 commit comments