Save screenshots to disc in README.md #148
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
pull_request: | |
permissions: | |
contents: read | |
env: | |
RUSTFLAGS: -Dwarnings # Turn warnings into errors | |
RUST_CI: true | |
jobs: | |
check: | |
name: "ubuntu: cargo clippy && cargo fmt && cargo test" | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- run: cargo fmt --all -- --check | |
- run: cargo test google.com --all-features --all-targets | |
- run: cargo clippy --all-features --all-targets | |
check-win: | |
name: "win: cargo clippy && cargo test" | |
runs-on: windows-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- run: cargo test google.com --all-features --all-targets | |
- run: cargo clippy --all-features --all-targets | |
check-macos: | |
name: "macos: cargo clippy && cargo test" | |
runs-on: macos-latest | |
timeout-minutes: 20 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: dtolnay/rust-toolchain@master | |
with: | |
toolchain: stable | |
- run: cargo test google.com --all-features --all-targets | |
- run: cargo clippy --all-features --all-targets |