File tree 2 files changed +21
-0
lines changed
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -103,3 +103,13 @@ jobs:
103
103
branch-suffix : timestamp
104
104
title : " docs: update documentation assets"
105
105
delete-branch : true
106
+
107
+ check-install-script :
108
+ name : Installation script (remote)
109
+ strategy :
110
+ matrix :
111
+ os : [ubuntu-latest, macos-latest, windows-latest]
112
+ runs-on : ${{ matrix.os }}
113
+
114
+ steps :
115
+ - run : curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b "./install-golangci-lint"
Original file line number Diff line number Diff line change @@ -128,6 +128,17 @@ jobs:
128
128
# needed for github-action-config.json generation
129
129
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
130
130
131
+ check-local-install-script :
132
+ name : Installation script (local)
133
+ strategy :
134
+ matrix :
135
+ os : [ubuntu-latest, macos-latest, windows-latest]
136
+ runs-on : ${{ matrix.os }}
137
+ steps :
138
+ - uses : actions/checkout@v4
139
+ - name : Check installation script
140
+ run : cat ./install.sh | sh -s -- -d -b "./install-golangci-lint"
141
+
131
142
# Note: the command `run` is tested by the previous steps (`make test`).
132
143
commands :
133
144
needs : golangci-lint
You can’t perform that action at this time.
0 commit comments