From a9c675d0a65cb6cb9d7955be04051a947800bd1d Mon Sep 17 00:00:00 2001 From: Miguel Ojeda Date: Thu, 1 Jul 2021 22:49:03 +0200 Subject: [PATCH] ci: call `rustfmtcheck` with the environment Now it is needed since we use `objtree` etc. in the target. Signed-off-by: Miguel Ojeda --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ff2de145d5e8eb..3ffbf5e8918d60 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -402,7 +402,7 @@ jobs: - run: make ${{ env.MAKE_ARCH }} ${{ env.MAKE_CROSS_COMPILE }} ${{ env.MAKE_TOOLCHAIN }} ${{ env.MAKE_OUTPUT }} ${{ env.MAKE_SYSROOT }} -j3 rusttest # Formatting - - run: make rustfmtcheck + - run: make ${{ env.MAKE_ARCH }} ${{ env.MAKE_CROSS_COMPILE }} ${{ env.MAKE_TOOLCHAIN }} ${{ env.MAKE_OUTPUT }} ${{ env.MAKE_SYSROOT }} -j3 rustfmtcheck # View changes to ccache - run: ccache -s