Bump whoami from 1.4.1 to 1.5.1 in /src-tauri #64
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: Tests | |
on: | |
pull_request: | |
push: | |
branches: ['main'] | |
jobs: | |
rust: | |
strategy: | |
matrix: | |
rust: [ stable, nightly ] | |
os: [ ubuntu-latest, windows-latest ] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: GuillaumeFalourd/setup-windows10-sdk-action@v1.11 | |
if: matrix.os == 'windows-latest' | |
- run: sudo apt update && sudo apt install libwebkit2gtk-4.0-dev build-essential curl wget file libssl-dev libgtk-3-dev libayatana-appindicator3-dev librsvg2-dev | |
if: matrix.os == 'ubuntu-latest' | |
- uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: ${{ matrix.rust }}-x86_64-pc-windows-gnu | |
if: matrix.os == 'windows-latest' | |
- uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: ${{ matrix.rust }} | |
if: matrix.os == 'ubuntu-latest' | |
- uses: rui314/setup-mold@v1 | |
- run: cd src-tauri && cargo test | |
shell: bash | |
env: | |
RUST_BACKTRACE: full |