From a9628e795747b2615c7419b0d88d6a7b65579a84 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 11 Feb 2023 16:23:13 +0100 Subject: [PATCH] build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#151) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yoan Blanc --- .github/actions/core-test/Dockerfile | 13 ++++++++----- .github/workflows/golangci-lint.yml | 2 +- .github/workflows/main.yml | 3 +++ 3 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/actions/core-test/Dockerfile b/.github/actions/core-test/Dockerfile index 18b8102..18903f9 100644 --- a/.github/actions/core-test/Dockerfile +++ b/.github/actions/core-test/Dockerfile @@ -1,10 +1,13 @@ -FROM golang:buster +FROM golang:bullseye -RUN set -xe && \ - apt-get update -y && \ +SHELL [ "/bin/bash", "-x", "-e", "-c" ] + +ARG DEBIAN_FRONTEND=noninteraactive +RUN apt-get update -y && \ apt-get install -qy --no-install-recommends \ cmake \ git \ - make + make && \ + git config --system --add safe.directory '*' -CMD [ "make", "submodule", "test-core", "test-skipped" ] +CMD [ "make", "test-core", "test-skipped" ] diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index 16fab83..07b0665 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -14,6 +14,6 @@ jobs: steps: - uses: actions/checkout@v3 - name: golangci-lint - uses: golangci/golangci-lint-action@v3.3.1 + uses: golangci/golangci-lint-action@v3.4.0 with: version: v1.49 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c938ead..becdcd5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,5 +25,8 @@ jobs: steps: - name: checkout uses: actions/checkout@v3 + with: + submodules: true + - name: core test uses: ./.github/actions/core-test