File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change 78
78
md5sum ${{ steps.metadata.outputs.archive }} > ${{ steps.metadata.outputs.archive-checksum }}
79
79
echo "::set-output name=checksum::$(cat ./${{ steps.metadata.outputs.archive-checksum }} | cut -d' ' -f1)"
80
80
81
+ - name : Setup Go environment
82
+ uses : actions/setup-go@v2
83
+ with :
84
+ go-version : ' 1.14.12'
85
+
86
+ - name : Lint plugin
87
+ run : |
88
+ git clone https://github.com/grafana/plugin-validator;
89
+ pushd ./plugin-validator/cmd/plugincheck;
90
+ go install
91
+ popd
92
+ plugincheck ${{ steps.metadata.outputs.archive }};
93
+
81
94
- name : Create release
82
95
id : create_release
83
96
uses : actions/create-release@v1
@@ -111,19 +124,6 @@ jobs:
111
124
asset_name : ${{ steps.metadata.outputs.archive-checksum }}
112
125
asset_content_type : text/plain
113
126
114
- - name : Setup Go environment
115
- uses : actions/setup-go@v2
116
- with :
117
- go-version : ' 1.14.12'
118
-
119
- - name : Lint plugin
120
- run : |
121
- git clone https://github.com/grafana/plugin-validator;
122
- pushd ./plugin-validator/cmd/plugincheck;
123
- go install
124
- popd
125
- plugincheck ${{ steps.upload-plugin-asset.outputs.browser_download_url }};
126
-
127
127
- name : Publish to Grafana.com
128
128
run : |
129
129
echo Publish your plugin to grafana.com/plugins by opening a PR to https://github.com/grafana/grafana-plugin-repository with the following entry:
You can’t perform that action at this time.
0 commit comments