File tree Expand file tree Collapse file tree 5 files changed +10
-28
lines changed
actions/install_smithy_dafny_codegen_dependencies Expand file tree Collapse file tree 5 files changed +10
-28
lines changed Original file line number Diff line number Diff line change 30
30
python -m pip install --upgrade black
31
31
python -m pip install --upgrade docformatter
32
32
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
+
33
43
# Without this the if-dafny-at-least command includes "Downloading ..." output
34
44
- name : Arbitrary makefile target to force downloading Gradle
35
45
shell : bash
Original file line number Diff line number Diff line change 54
54
with :
55
55
go-version : ${{ matrix.go-version }}
56
56
57
- - name : Install Go imports
58
- run : |
59
- go install golang.org/x/tools/cmd/goimports@latest
60
-
61
57
- name : Create temporary global.json
62
58
run : echo '{"sdk":{"rollForward":"latestFeature","version":"6.0.0"}}' > ./global.json
63
59
Original file line number Diff line number Diff line change 95
95
with :
96
96
go-version : ${{ matrix.go-version }}
97
97
98
- - name : Install Go imports
99
- run : |
100
- go install golang.org/x/tools/cmd/goimports@latest
101
-
102
98
- uses : actions/checkout@v3
103
99
- name : Init Submodules
104
100
shell : bash
@@ -109,11 +105,6 @@ jobs:
109
105
- name : Install Smithy-Dafny codegen dependencies
110
106
uses : ./.github/actions/install_smithy_dafny_codegen_dependencies
111
107
112
- - name : Install Go imports
113
- shell : bash
114
- run : |
115
- go install golang.org/x/tools/cmd/goimports@latest
116
-
117
108
- name : Build ${{ matrix.library }} implementation
118
109
shell : bash
119
110
working-directory : ./${{ matrix.library }}
Original file line number Diff line number Diff line change 52
52
with :
53
53
dafny-version : ${{ needs.get-dafny-version.outputs.version }}
54
54
55
- - name : Install Go
56
- uses : actions/setup-go@v5
57
- with :
58
- go-version : " 1.23"
59
-
60
- - name : Install Go imports
61
- run : |
62
- go install golang.org/x/tools/cmd/goimports@latest
63
-
64
55
- name : Install Smithy-Dafny codegen dependencies
65
56
uses : ./.github/actions/install_smithy_dafny_codegen_dependencies
66
57
Original file line number Diff line number Diff line change 91
91
if : matrix.os == 'windows-latest'
92
92
uses : ilammy/setup-nasm@v1
93
93
94
- # Go is needed for aws-lc-FIPS
95
- - name : Install Go
96
- uses : actions/setup-go@v5
97
- with :
98
- go-version : " >=1.18"
99
-
100
94
- name : Install Smithy-Dafny codegen dependencies
101
95
uses : ./.github/actions/install_smithy_dafny_codegen_dependencies
102
96
You can’t perform that action at this time.
0 commit comments