From b2a51cc79a02a59f31224474db992a2461caee52 Mon Sep 17 00:00:00 2001 From: Michal S Date: Mon, 5 Sep 2022 17:31:38 +0100 Subject: [PATCH] Move to pretty predefined actions --- .github/workflows/test.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 92e4e2f..2f16623 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,24 +6,11 @@ on: pull_request: branches: [ main ] -env: - CARGO_TERM_COLOR: always - jobs: test: runs-on: ubuntu-latest - container: - image: ghcr.io/crystal-linux/crystal:latest steps: - - name: Prepare - run : | - pacman -Syu --needed --noconfirm - pacman -S --noconfirm rust - - name: Clippy - run: | - cargo clippy -- -D warnings - + uses: actions-rs/clippy-check@v1.0.7 - name: Format - run: | - cargo fmt --check \ No newline at end of file + uses: actions-rust-lang/rustfmt@v1.0.0