From b3564806331d7367ac476dc72466494503ca89ff Mon Sep 17 00:00:00 2001 From: Lockwarr Date: Tue, 24 Sep 2024 09:27:08 +0300 Subject: [PATCH] fix: CI --- .github/images/builder.Dockerfile | 4 ++-- .github/workflows/nolus-core.yaml | 6 +++--- .golangci.yaml | 7 ------- 3 files changed, 5 insertions(+), 12 deletions(-) diff --git a/.github/images/builder.Dockerfile b/.github/images/builder.Dockerfile index b866829b..fe0c6b92 100644 --- a/.github/images/builder.Dockerfile +++ b/.github/images/builder.Dockerfile @@ -2,7 +2,7 @@ # TODO: once we migrate to wasmvm 2.1.0, we can go back to using base golang image FROM alpine:3.18 -ENV PATH /usr/local/go/bin:$PATH +ENV PATH=/usr/local/go/bin:$PATH COPY --from=golang:1.22 /usr/local/go /usr/local/go ARG LEDGER_ENABLED @@ -19,7 +19,7 @@ RUN set -eux; apk add --no-cache ca-certificates build-base; RUN apk add git -ARG WASMVM_VERSION="v2.0.0" +ARG WASMVM_VERSION="v2.1.2" ARG WASMVM_LIB="libwasmvm_muslc.x86_64.a" ARG WASMVM_BASE_URL="https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION" ARG WASMVM_URL="$WASMVM_BASE_URL/$WASMVM_LIB" diff --git a/.github/workflows/nolus-core.yaml b/.github/workflows/nolus-core.yaml index af1decbf..e0a845a3 100644 --- a/.github/workflows/nolus-core.yaml +++ b/.github/workflows/nolus-core.yaml @@ -17,7 +17,7 @@ env: # docker images CONTAINER_REGISTRY: ghcr.io - BUILDER_IMAGE_TAG: "1.22.3" + BUILDER_IMAGE_TAG: "1.22.4" BUILDER_IMAGE_NAME: "builder" BUILDER_DOCKERFILE: ".github/images/builder.Dockerfile" PROTOGEN_IMAGE_TAG: "0.2.0" @@ -172,8 +172,8 @@ jobs: needs: [test-unit-coverage, builder-image] container: # image name needs to be hardcoded: https://github.com/orgs/community/discussions/26324 - image: "ghcr.io/nolus-protocol/nolus-core/builder:1.22.3" - + image: "public.ecr.aws/nolus/builder:1.22.4" + steps: - uses: actions/checkout@v4 diff --git a/.golangci.yaml b/.golangci.yaml index 5a663cca..17d72868 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -35,11 +35,6 @@ output: sort-results: true issues: - exclude-rules: - - text: 'has no field or method' - linters: - - typecheck - # Maximum issues count per one linter. # Set to 0 to disable. # Default: 50 @@ -48,5 +43,3 @@ issues: # Set to 0 to disable. # Default: 3 max-same-issues: 0 - - \ No newline at end of file