chore(deps): update gtk crates to 0.19 #42
This file contains hidden or 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: test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| rust_version: [stable] | |
| platform: | |
| - { target: x86_64-unknown-linux-gnu, os: ubuntu-latest } | |
| runs-on: ${{ matrix.platform.os }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - name: install stable | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| target: ${{ matrix.platform.target }} | |
| - name: install gtk | |
| if: matrix.platform.os == 'ubuntu-latest' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libgtk-3-dev libappindicator3-dev | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: cargo fmt | |
| run: cargo fmt --all -- --check | |
| - name: build webkit2gtk | |
| run: cargo build --target ${{ matrix.platform.target }} | |
| - name: build and run tests | |
| run: cargo test --verbose --target ${{ matrix.platform.target }} | |