Clean cache before test and clippy

This commit is contained in:
Alexis Mousset
2019-11-30 13:02:52 +01:00
parent 4601e0f8c8
commit 97f60f111e

View File

@@ -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