55 branches : [ main ]
66 workflow_dispatch :
77
8+ concurrency :
9+ group : ${{ github.workflow }}-${{ github.ref }}
10+ cancel-in-progress : true
11+
812defaults :
913 run :
1014 working-directory : cli
@@ -19,10 +23,10 @@ jobs:
1923
2024 steps :
2125 - name : Checkout code
22- uses : actions/checkout@v4
26+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
2327
2428 - name : Set up Go (bootstrap)
25- uses : actions/setup-go@v5
29+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
2630 with :
2731 go-version : ' stable'
2832 cache : false
@@ -77,10 +81,10 @@ jobs:
7781
7882 steps :
7983 - name : Checkout code
80- uses : actions/checkout@v4
84+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
8185
8286 - name : Set up Go (bootstrap)
83- uses : actions/setup-go@v5
87+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
8488 with :
8589 go-version : ' stable'
8690 cache : false
@@ -121,7 +125,7 @@ jobs:
121125
122126 - name : Upload coverage to Codecov
123127 if : github.repository == 'jongio/azd-copilot'
124- uses : codecov/codecov-action@v4
128+ uses : codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
125129 with :
126130 file : coverage/coverage.out
127131 flags : unittests
@@ -147,10 +151,10 @@ jobs:
147151
148152 steps :
149153 - name : Checkout code
150- uses : actions/checkout@v4
154+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
151155
152156 - name : Set up Go (bootstrap)
153- uses : actions/setup-go@v5
157+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
154158 with :
155159 go-version : ' stable'
156160 cache : false
@@ -178,10 +182,10 @@ jobs:
178182
179183 steps :
180184 - name : Checkout code
181- uses : actions/checkout@v4
185+ uses : actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
182186
183187 - name : Set up Go (bootstrap)
184- uses : actions/setup-go@v5
188+ uses : actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
185189 with :
186190 go-version : ' stable'
187191 cache : false
@@ -204,7 +208,7 @@ jobs:
204208 GOOS=darwin GOARCH=arm64 go build -o bin/darwin-arm64/copilot ./src/cmd/copilot
205209
206210 - name : Upload artifacts
207- uses : actions/upload-artifact@v4
211+ uses : actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
208212 with :
209213 name : binaries
210214 path : cli/bin/
0 commit comments