on: push name: CI Build jobs: ci: runs-on: ubuntu-latest strategy: matrix: rust: - stable - beta - nightly steps: - uses: actions/checkout@v1 - uses: actions-rs/toolchain@v1 with: profile: minimal toolchain: ${{ matrix.rust }} override: true components: rustfmt, clippy - uses: actions-rs/cargo@v1 with: command: build args: --release - uses: actions-rs/cargo@v1 with: command: test args: --release - uses: actions-rs/cargo@v1 with: command: fmt args: --all -- --check - uses: actions-rs/cargo@v1 with: command: clippy args: -- -D warnings - name: Archive build uses: actions/upload-artifact@v2 with: name: receqif path: target/release/receqif