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