Commit d051c81 1 parent 0d3c542 commit d051c81 Copy full SHA for d051c81
File tree 1 file changed +8
-8
lines changed
1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -8,17 +8,19 @@ defaults:
8
8
run :
9
9
shell : bash
10
10
11
+ env :
12
+ GO_VERSION : 1.23.4
13
+ PNAME : agent
14
+
11
15
jobs :
12
16
unit_test :
13
17
runs-on : ubuntu-latest
14
- env :
15
- GO_VERSION : 1.23.4
16
18
steps :
17
19
- name : Checkout current repository
18
20
uses : actions/checkout@v4
19
21
with :
20
22
fetch-depth : 0
21
- path : agent
23
+ path : ${{ env.PNAME }}
22
24
23
25
- name : Checkout framework repository
24
26
uses : actions/checkout@v4
51
53
run : |
52
54
echo Home path is $HOME
53
55
export WORKBASE=$HOME/go/src/infini.sh
54
- export WORK=$WORKBASE/agent
56
+ export WORK=$WORKBASE/$PNAME
55
57
56
58
# for test workspace
57
59
mkdir -p $HOME/go/src/
@@ -68,14 +70,12 @@ jobs:
68
70
69
71
code_lint :
70
72
runs-on : ubuntu-latest
71
- env :
72
- GO_VERSION : 1.23.4
73
73
steps :
74
74
- name : Checkout current repository
75
75
uses : actions/checkout@v4
76
76
with :
77
77
fetch-depth : 0
78
- path : agent
78
+ path : ${{ env.PNAME }}
79
79
80
80
- name : Checkout framework repository
81
81
uses : actions/checkout@v4
@@ -108,7 +108,7 @@ jobs:
108
108
run : |
109
109
echo Home path is $HOME
110
110
export WORKBASE=$HOME/go/src/infini.sh
111
- export WORK=$WORKBASE/agent
111
+ export WORK=$WORKBASE/$PNAME
112
112
113
113
# for test workspace
114
114
mkdir -p $HOME/go/src/
You can’t perform that action at this time.
0 commit comments