name: Rust on: [push] env: CARGO_TERM_COLOR: always jobs: build: runs-on: ubuntu-latest steps: - name: Checkout Repository uses: actions/checkout@v2 - name: Set up Rust uses: actions-rs/toolchain@v1 with: toolchain: stable # You can change this to nightly or other versions - name: Build with Cargo run: | cargo build --release