Skip to content

chore: use pathbuf instead of str for file path #70

chore: use pathbuf instead of str for file path

chore: use pathbuf instead of str for file path #70

Workflow file for this run

name: Rust
defaults:
run:
working-directory: ./src-tauri
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
# - stable
# - beta
- nightly
steps:
- uses: actions/checkout@v3
- name: Cache
uses: Swatinem/rust-cache@v2.7.3
- name: install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Versions
run: rustup update ${{ matrix.toolchain }} && rustup default ${{ matrix.toolchain }}
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose