diff --git a/.github/workflows/rproxy_release.yaml b/.github/workflows/rproxy_release.yaml index 9b5bed3..ab10a67 100644 --- a/.github/workflows/rproxy_release.yaml +++ b/.github/workflows/rproxy_release.yaml @@ -90,6 +90,8 @@ jobs: libssl-dev \ pkg-config curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y + . $HOME/.cargo/env + cargo install cargo-auditable --version 0.7.5 --locked - name: checkout the repository uses: actions/checkout@v4 diff --git a/Dockerfile b/Dockerfile index 2fcfae9..7d19179 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,6 +11,8 @@ RUN rustup component add \ ENV CARGO_HOME=/usr/local/cargo +RUN cargo install cargo-auditable --version 0.7.5 --locked + FROM base AS builder WORKDIR /app diff --git a/build.sh b/build.sh index 6c3b950..e978bee 100755 --- a/build.sh +++ b/build.sh @@ -26,7 +26,7 @@ export CARGO_TARGET_$( echo "${TARGET}" | tr '[:lower:]' '[:upper:]' | tr '-' '_ -C target-feature=+crt-static \ " -cargo build --package rproxy \ +cargo auditable build --package rproxy \ --features ${FEATURES} \ --locked \ --release \