strategy:
matrix:
platform: [ ubuntu-latest, macos-latest, windows-latest ]
- toolchain: [ stable, beta ]
+ toolchain: [ stable, 1.48.0 ]
include:
- toolchain: stable
check-fmt: true
+ exclude:
+ - platform: macos-latest
+ toolchain: 1.48.0
runs-on: ${{ matrix.platform }}
steps:
- name: Checkout source code
io::stdout().flush().unwrap(); // Without flushing, the `>` doesn't print
let mut line = String::new();
if let Err(e) = io::stdin().read_line(&mut line) {
- break println!("ERROR: {e:#}");
+ break println!("ERROR: {}", e);
}
if line.len() == 0 {