1name: Rust 2 3on: 4 push: 5 branches: [ master ] 6 pull_request: 7 branches: [ master ] 8 9env: 10 CARGO_TERM_COLOR: always 11 12jobs: 13 build: 14 strategy: 15 matrix: 16 rust: [1.40.0, stable, beta, nightly] 17 env: 18 CARGO_INCREMENTAL: 0 # Incremental compilation is slower and bloats the cache 19 RUST_BACKTRACE: 1 20 21 runs-on: ubuntu-latest 22 23 steps: 24 - uses: actions/checkout@v2 25 - name: Build 26 run: cargo build 27 - name: Run tests 28 run: ./ci.sh 29