mirror of https://github.com/docker/compose.git
tools: Update Go and linter
Signed-off-by: Christopher Crone <christopher.crone@docker.com>
This commit is contained in:
parent
16acc36033
commit
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
|
||||
|
|
Loading…
Reference in New Issue