File tree Expand file tree Collapse file tree 8 files changed +35
-35
lines changed
Expand file tree Collapse file tree 8 files changed +35
-35
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ stages:
2323
2424 - task : GoTool@0
2525 inputs :
26- version : ' 1.21 .0'
26+ version : ' 1.22 .0'
2727
2828 - task : ShellScript@2
2929 inputs :
Original file line number Diff line number Diff line change @@ -23,22 +23,22 @@ stages:
2323 pool.name : azsdk-pool-mms-win-2022-general
2424 image.name : MMS2022
2525 go.version : ' 1.18.10'
26- Linux_Go120 :
26+ Linux_Go121 :
2727 pool.name : azsdk-pool-mms-ubuntu-2004-general
2828 image.name : MMSUbuntu20.04
29- go.version : ' 1.20 .7'
30- Windows_Go120 :
29+ go.version : ' 1.21 .7'
30+ Windows_Go121 :
3131 pool.name : azsdk-pool-mms-win-2022-general
3232 image.name : MMS2022
33- go.version : ' 1.20 .7'
34- Linux_Go121 :
33+ go.version : ' 1.21 .7'
34+ Linux_Go122 :
3535 pool.name : azsdk-pool-mms-ubuntu-2004-general
3636 image.name : MMSUbuntu20.04
37- go.version : ' 1.21 .0'
38- Windows_Go121 :
37+ go.version : ' 1.22 .0'
38+ Windows_Go122 :
3939 pool.name : azsdk-pool-mms-win-2022-general
4040 image.name : MMS2022
41- go.version : ' 1.21 .0'
41+ go.version : ' 1.22 .0'
4242 pool :
4343 name : $(pool.name)
4444 vmImage : $(image.name)
@@ -71,7 +71,7 @@ stages:
7171 steps :
7272 - task : GoTool@0
7373 inputs :
74- version : ' 1.21 .0'
74+ version : ' 1.22 .0'
7575 displayName : " Select Go Version"
7676
7777 - template : ../steps/create-go-workspace.yml
Original file line number Diff line number Diff line change @@ -98,22 +98,22 @@ stages:
9898 pool.name : azsdk-pool-mms-win-2022-general
9999 image.name : MMS2022
100100 go.version : ' 1.18.10'
101- Linux_Go120 :
101+ Linux_Go121 :
102102 pool.name : azsdk-pool-mms-ubuntu-2004-general
103103 image.name : MMSUbuntu20.04
104- go.version : ' 1.20 .7'
105- Windows_Go120 :
104+ go.version : ' 1.21 .7'
105+ Windows_Go121 :
106106 pool.name : azsdk-pool-mms-win-2022-general
107107 image.name : MMS2022
108- go.version : ' 1.20 .7'
109- Linux_Go121 :
108+ go.version : ' 1.21 .7'
109+ Linux_Go122 :
110110 pool.name : azsdk-pool-mms-ubuntu-2004-general
111111 image.name : MMSUbuntu20.04
112- go.version : ' 1.21 .0'
113- Windows_Go121 :
112+ go.version : ' 1.22 .0'
113+ Windows_Go122 :
114114 pool.name : azsdk-pool-mms-win-2022-general
115115 image.name : MMS2022
116- go.version : ' 1.21 .0'
116+ go.version : ' 1.22 .0'
117117 generate.bom : true
118118 pool :
119119 name : $(pool.name)
@@ -166,7 +166,7 @@ stages:
166166
167167 - task : GoTool@0
168168 inputs :
169- version : ' 1.21 .0'
169+ version : ' 1.22 .0'
170170 displayName : " Select Go Version"
171171
172172 - template : ../steps/create-go-workspace.yml
Original file line number Diff line number Diff line change @@ -38,22 +38,22 @@ stages:
3838 pool.name : azsdk-pool-mms-win-2022-general
3939 image.name : MMS2022
4040 go.version : ' 1.18.10'
41- Linux_Go120 :
41+ Linux_Go121 :
4242 pool.name : azsdk-pool-mms-ubuntu-2004-general
4343 image.name : MMSUbuntu20.04
44- go.version : ' 1.20 .7'
45- Windows_Go120 :
44+ go.version : ' 1.21 .7'
45+ Windows_Go121 :
4646 pool.name : azsdk-pool-mms-win-2022-general
4747 image.name : MMS2022
48- go.version : ' 1.20 .7'
49- Linux_Go121 :
48+ go.version : ' 1.21 .7'
49+ Linux_Go122 :
5050 pool.name : azsdk-pool-mms-ubuntu-2004-general
5151 image.name : MMSUbuntu20.04
52- go.version : ' 1.21 .0'
53- Windows_Go121 :
52+ go.version : ' 1.22 .0'
53+ Windows_Go122 :
5454 pool.name : azsdk-pool-mms-win-2022-general
5555 image.name : MMS2022
56- go.version : ' 1.21 .0'
56+ go.version : ' 1.22 .0'
5757 generate.bom : true
5858 pool :
5959 name : $(pool.name)
@@ -92,7 +92,7 @@ stages:
9292
9393 - task : GoTool@0
9494 inputs :
95- version : ' 1.21 .0'
95+ version : ' 1.22 .0'
9696 displayName : " Select Go Version"
9797
9898 - template : ../steps/create-go-workspace.yml
Original file line number Diff line number Diff line change 1414 displayName: 'Install autorest'
1515 - task : GoTool@0
1616 inputs :
17- version : ' 1.21 .0'
17+ version : ' 1.22 .0'
1818 displayName : " Select Go Version"
1919
2020 - template : /eng/pipelines/templates/steps/create-go-workspace.yml
Original file line number Diff line number Diff line change 1212 },
1313 "GoVersion" : [
1414 " 1.18.10" ,
15- " 1.20 .7" ,
16- " 1.21 .0"
15+ " 1.21 .7" ,
16+ " 1.22 .0"
1717 ]
1818 }
1919}
Original file line number Diff line number Diff line change 11variables :
2- GoLintCLIVersion : ' v1.54 .2'
2+ GoLintCLIVersion : ' v1.56 .2'
33 Package.EnableSBOMSigning : true
44 # Enable go native component governance detection
55 # https://docs.opensource.microsoft.com/tools/cg/index.html
Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ outputFile="$(realpath $outputFile)"
1717echo " output json file: $outputFile "
1818
1919TMPDIR=" /tmp"
20- if [ ! " $( go version | awk ' {print $3}' | cut -c 3-6) " = " 1.21 " ]
20+ if [ ! " $( go version | awk ' {print $3}' | cut -c 3-6) " = " 1.22 " ]
2121then
22- wget https://golang.org/dl/go1.21 .0.linux-amd64.tar.gz
23- tar -C $TMPDIR -xzf go1.21 .0.linux-amd64.tar.gz
22+ wget https://golang.org/dl/go1.22 .0.linux-amd64.tar.gz
23+ tar -C $TMPDIR -xzf go1.22 .0.linux-amd64.tar.gz
2424 export GOROOT=$TMPDIR /go
2525 export PATH=$GOROOT /bin:$PATH
2626fi
You can’t perform that action at this time.
0 commit comments