diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5058cbb..3e26fd7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,7 +7,7 @@ on: branches: [ master ] jobs: - build: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -17,9 +17,19 @@ jobs: toolchain: stable profile: minimal override: true - - name: Install Clippy - run: rustup component add clippy - - name: Run linter - run: cargo clippy -- -D warnings - name: Run tests run: cargo test + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup Rust toolchain + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + override: true + - name: Install Clippy + run: rustup component add clippy + - name: Run linter + run: cargo clippy -- -D warnings \ No newline at end of file