зеркало из https://github.com/docker/compose-cli.git
tools: Update Go and linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
Родитель
16acc36033
Коммит
878783d271
|
@ -20,7 +20,7 @@ jobs:
|
|||
|
||||
- name: Run golangci-lint
|
||||
run: |
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.27.0
|
||||
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.28.1
|
||||
./golangci-lint run --timeout 10m0s
|
||||
|
||||
build:
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
ARG GO_VERSION=1.14.3-alpine
|
||||
ARG GOLANGCI_LINT_VERSION=v1.27.0-alpine
|
||||
ARG GO_VERSION=1.14.4-alpine
|
||||
ARG GOLANGCI_LINT_VERSION=v1.28.1-alpine
|
||||
|
||||
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS base
|
||||
WORKDIR /api
|
||||
|
|
Загрузка…
Ссылка в новой задаче