Skip to content

Merge pull request #23 from Sir-Thom/dev #42

Merge pull request #23 from Sir-Thom/dev

Merge pull request #23 from Sir-Thom/dev #42

Workflow file for this run

name: Rust CI
on:
push:
branches: ['main']
pull_request:
branches: ['main']
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt update -y && sudo apt install -y libwebkit2gtk-4.1-dev \
build-essential \
curl \
wget \
file \
libxdo-dev \
libssl-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Create .env file
run: |
echo "KEY_BIN_ENCRYPTION=${{ secrets.KEY_BIN_ENCRYPTION }}" > .env
- name: Run tests
env:
KEY_BIN_ENCRYPTION: ${{ secrets.KEY_BIN_ENCRYPTION }}
run: |
cd src-tauri
cargo test --verbose