diff --git a/.github/workflows/pr_pre-commit.yaml b/.github/workflows/pr_pre-commit.yaml index dd7ee3b..8354f68 100644 --- a/.github/workflows/pr_pre-commit.yaml +++ b/.github/workflows/pr_pre-commit.yaml @@ -7,7 +7,7 @@ on: env: CARGO_TERM_COLOR: always RUST_TOOLCHAIN_VERSION: "1.81.0" - HADOLINT_VERSION: "v1.17.6" + HADOLINT_VERSION: "v2.12.0" jobs: pre-commit: diff --git a/docker/Dockerfile b/docker/Dockerfile index 84635af..cb34936 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -7,6 +7,7 @@ RUN apt-get update && \ WORKDIR / SHELL ["/bin/bash", "-o", "pipefail", "-c"] +# hadolint ignore=SC1091 RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.81.0 && . "${HOME}/.cargo/env" WORKDIR /trino-lb @@ -16,6 +17,7 @@ COPY trino-lb-bench trino-lb-bench COPY trino-lb-core trino-lb-core COPY trino-lb-persistence trino-lb-persistence +# hadolint ignore=SC1091 RUN . "$HOME/.cargo/env" && cargo build --release --all-features # Build final image