From a93020f47c83ba9331df2c93ad93642c45ba2c2c Mon Sep 17 00:00:00 2001 From: Michal S Date: Mon, 5 Sep 2022 17:44:45 +0100 Subject: [PATCH] Clippy runs on Crystal container --- .github/workflows/test.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 637d35b..401f1d2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,9 +20,12 @@ jobs: clippy: name: cargo clippy runs-on: ubuntu-latest + container: ghcr.io/crystal-linux/crystal:latest steps: - uses: actions/checkout@v1 - - run: rustup component add clippy + - run: | + sudo pacman -Syu --needed --noconfirm + sudo pacman -S --noconfirm rust - uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file