Skip to content

Commit 4aea8b0

Browse files
committed
dapr-bot workflow changes
- retrieve go version from go.mod - run go mod tidy rather than go get Signed-off-by: mikeee <[email protected]>
1 parent 222d624 commit 4aea8b0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dapr-bot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
- name: Setup Golang
2222
uses: actions/setup-go@v4
2323
with:
24-
go-version: ~1.22
24+
go-version-file: "./.github/workflows/dapr-bot/go.mod"
2525
cache-dependency-path: |
2626
./.github/workflows/dapr-bot/
2727
2828
- name: go-bot-mod
2929
working-directory: ./.github/workflows/dapr-bot/
30-
run: go get ./...
31-
- name: go-bot-run
30+
run: go mod tidy
3231

32+
- name: go-bot-run
3333
working-directory: ./.github/workflows/dapr-bot/
3434
run: go run .

0 commit comments

Comments
 (0)