name: Rust checks on: push: branches: [ master ] pull_request: branches: [ master ] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: cargo build run: cargo build --verbose - name: cargo test run: cargo test --verbose - name: cargo clippy run: cargo clippy - name: cargo audit run: cargo audit --color always - name: cargo outdated run: cargo outdated --color always --exit-code 0 - name: generate and cat ebuild run: target/debug/cargo-ebuild ebuild -T cargo-ebuild-template.tera && cat cargo-ebuild-*.ebuild