mirror of https://github.com/docker/compose.git
Merge pull request #363 from chris-crone/bump-tools
Update Go and linter
This commit is contained in:
commit
33cbee03b8
|
@ -20,7 +20,7 @@ jobs:
|
||||||
|
|
||||||
- name: Run golangci-lint
|
- name: Run golangci-lint
|
||||||
run: |
|
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
|
./golangci-lint run --timeout 10m0s
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
ARG GO_VERSION=1.14.3-alpine
|
ARG GO_VERSION=1.14.4-alpine
|
||||||
ARG GOLANGCI_LINT_VERSION=v1.27.0-alpine
|
ARG GOLANGCI_LINT_VERSION=v1.28.1-alpine
|
||||||
|
|
||||||
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS base
|
FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS base
|
||||||
WORKDIR /api
|
WORKDIR /api
|
||||||
|
|
Loading…
Reference in New Issue