|
@@ -23,24 +23,21 @@ jobs:
|
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
|
|
|
|
steps:
|
|
|
- - uses: actions/checkout@v2
|
|
|
+ - uses: actions/checkout@v3
|
|
|
|
|
|
- - name: Install stable toolchain
|
|
|
- uses: actions-rs/toolchain@v1
|
|
|
- with:
|
|
|
- toolchain: stable
|
|
|
- override: true
|
|
|
+ - name: Install stable toolchain
|
|
|
+ uses: dtolnay/rust-toolchain@stable
|
|
|
+ with:
|
|
|
+ components: clippy
|
|
|
|
|
|
- - name: Install Linux dependencies
|
|
|
- run: |
|
|
|
- sudo apt-get update
|
|
|
- sudo apt-get install -y webkit2gtk-4.0
|
|
|
+ - name: Install Linux dependencies
|
|
|
+ if: matrix.os == 'ubuntu-latest'
|
|
|
+ run: |
|
|
|
+ sudo apt-get update
|
|
|
+ sudo apt-get install -y webkit2gtk-4.0
|
|
|
|
|
|
- - uses: Swatinem/rust-cache@v2
|
|
|
+ - uses: Swatinem/rust-cache@v2
|
|
|
|
|
|
- - name: Run tests
|
|
|
- uses: actions-rs/cargo@v1
|
|
|
- with:
|
|
|
- command: test
|
|
|
- args: --manifest-path=Cargo.toml --release
|
|
|
+ - name: Run tests
|
|
|
+ run: cargo test --manifest-path=Cargo.toml --release
|
|
|
{{{{/raw}}}}
|