From c64669176416d03a8d875c7aacf47cbee2157f24 Mon Sep 17 00:00:00 2001 From: Mitchell Marino Date: Thu, 15 Dec 2022 20:23:18 -0600 Subject: [PATCH] update ci --- ci/check-fmt.yml | 14 +++++++++++--- pipeline.yml | 2 +- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ci/check-fmt.yml b/ci/check-fmt.yml index 8dc8b3f..c90fab5 100644 --- a/ci/check-fmt.yml +++ b/ci/check-fmt.yml @@ -8,7 +8,15 @@ inputs: - name: repo run: - path: cargo - args: ["fmt", "--", "--check"] - dir: "repo" +# path: cargo +# args: ["fmt", "--", "--check"] +# dir: "repo" + +# TODO: create an image with cargo check already installed + path: sh + args: + - -exc + - | + rustup component add rustfmt + cargo fmt -- --check diff --git a/pipeline.yml b/pipeline.yml index e2520ad..b1ac3fb 100644 --- a/pipeline.yml +++ b/pipeline.yml @@ -16,7 +16,7 @@ jobs: file: repo/ci/lint.yml - task: audit file: repo/ci/audit.yml -- name: build-linux +- name: build plan: - get: repo trigger: true