From de99ef1a96b98be9cac020558e84c8e10dfb22f5 Mon Sep 17 00:00:00 2001 From: Anton-4 <17049058+Anton-4@users.noreply.github.com> Date: Tue, 11 Oct 2022 18:45:52 +0200 Subject: [PATCH] move format check up also added --locked and --release Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com> --- .github/workflows/ubuntu_x86_64.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ubuntu_x86_64.yml b/.github/workflows/ubuntu_x86_64.yml index 1fcb1e7b33..e18b4266c0 100644 --- a/.github/workflows/ubuntu_x86_64.yml +++ b/.github/workflows/ubuntu_x86_64.yml @@ -26,6 +26,9 @@ jobs: - name: zig fmt check, zig tests run: cd crates/compiler/builtins/bitcode && ./run-tests.sh + + - name: roc format check on builtins + run: cargo run --locked --release format --check crates/compiler/builtins/roc - name: zig wasm tests run: cd crates/compiler/builtins/bitcode && ./run-wasm-tests.sh @@ -42,9 +45,6 @@ jobs: - name: run `roc test` on Str builtins run: cargo run --locked --release -- test crates/compiler/builtins/roc/Str.roc && sccache --show-stats - - name: run `roc format --check` on builtins - run: cargo run format --check crates/compiler/builtins/roc - #TODO pass --locked into the script here as well, this avoids rebuilding dependencies unnecessarily - name: wasm repl test run: crates/repl_test/test_wasm.sh && sccache --show-stats