From 97f60f111e713d4d8da3dd6fee435940038440f5 Mon Sep 17 00:00:00 2001 From: Alexis Mousset Date: Sat, 30 Nov 2019 13:02:52 +0100 Subject: [PATCH] Clean cache before test and clippy --- .github/workflows/test.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0121d47..5d48f64 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,11 +20,15 @@ jobs: toolchain: ${{ matrix.rust }} override: true components: rustfmt, clippy - - run: sudo DEBIAN_FRONTEND=noninteractive apt-get -y install postfix - - run: smtp-sink 2525 1000& + - uses: actions-rs/cargo@v1 + with: + command: clean + args: -p lettre lettre_email - uses: actions-rs/cargo@v1 with: command: check + - run: sudo DEBIAN_FRONTEND=noninteractive apt-get -y install postfix + - run: smtp-sink 2525 1000& - uses: actions-rs/cargo@v1 with: command: test @@ -32,6 +36,10 @@ jobs: with: command: fmt args: --all -- --check + - uses: actions-rs/cargo@v1 + with: + command: clean + args: -p lettre lettre_email - uses: actions-rs/cargo@v1 with: command: clippy