From 396db35d6d9f08d99b759373752b9d465a2b830f Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Wed, 6 Dec 2023 20:23:56 -0600 Subject: [PATCH] idea --- .github/workflows/rtx.yml | 3 +-- packaging/github-actions/Dockerfile | 5 ++++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/rtx.yml b/.github/workflows/rtx.yml index 72566c5198..5292fbcf82 100644 --- a/.github/workflows/rtx.yml +++ b/.github/workflows/rtx.yml @@ -15,6 +15,7 @@ concurrency: env: CARGO_TERM_COLOR: always CARGO_INCREMENTAL: 0 + RTX_TRUSTED_CONFIG_PATHS: ${{ github.workspace }} jobs: unit: @@ -36,14 +37,12 @@ jobs: # tool: nextest,just,cargo-deny,cargo-msrv,cargo-machete # - name: Install direnv/shfmt # run: sudo apt-get update; sudo apt-get install direnv shfmt - - run: sudo apt-get update; sudo apt-get install shfmt shellcheck - run: cargo nextest run --all-features env: RUST_BACKTRACE: "1" - run: cargo deny check - run: cargo msrv verify - run: cargo machete --with-metadata - - uses: taiki-e/install-action@just - run: npm i -g prettier markdownlint-cli - run: just render-all lint-fix - if: github.event_name == 'pull_request' diff --git a/packaging/github-actions/Dockerfile b/packaging/github-actions/Dockerfile index 6fb342a52c..5920b646d6 100644 --- a/packaging/github-actions/Dockerfile +++ b/packaging/github-actions/Dockerfile @@ -54,7 +54,10 @@ RUN apt-get update \ && echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \ && apt-get update && apt-get install -y --no-install-recommends nodejs \ && node -v \ - && npm i -g markdown-magic \ + && npm i -g \ + markdown-magic \ + markdownlint-cli \ + prettier \ && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \ && curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash \ && rustup install stable && rustup default stable \