Skip to content

Commit 7a6fd63

Browse files
authored
chore(ci): Install Go/goimports as codegen dependencies (#1713)
1 parent 2c57523 commit 7a6fd63

File tree

1 file changed

+10
-0
lines changed
  • .github/actions/install_smithy_dafny_codegen_dependencies

1 file changed

+10
-0
lines changed

.github/actions/install_smithy_dafny_codegen_dependencies/action.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ runs:
3030
python -m pip install --upgrade black
3131
python -m pip install --upgrade docformatter
3232
33+
- name: Install Go
34+
uses: actions/setup-go@v2
35+
with:
36+
go-version: "1.23"
37+
38+
- name: Install Go imports
39+
shell: bash
40+
run: |
41+
go install golang.org/x/tools/cmd/goimports@latest
42+
3343
# Without this the if-dafny-at-least command includes "Downloading ..." output
3444
- name: Arbitrary makefile target to force downloading Gradle
3545
shell: bash

0 commit comments

Comments
 (0)