From 6c2d17789625087f5061279a28acd54c546fe613 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 13 Mar 2023 19:32:29 +0000 Subject: [PATCH] ci/rustfmt: simplify getting all the rust files Part-of: --- .gitlab-ci/test/gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml index 98a6deabcb4..78a493a5880 100644 --- a/.gitlab-ci/test/gitlab-ci.yml +++ b/.gitlab-ci/test/gitlab-ci.yml @@ -27,7 +27,8 @@ rustfmt: variables: GIT_STRATEGY: fetch script: - - git ls-files */{lib,app}.rs | xargs rustfmt --check + - shopt -s globstar + - rustfmt --check src/**/*.rs .test-gl: extends: