Merge release v0.0.2 (#60)

* update v0.0.1

* update v0.0.1

* add rust cache

* rename step

* fix test workflow

* change to build

* add password

* move app.jpeg

* bump & update name

* remove logo

* untrack .vscode

* remove icon from readme

* use npx

* rename file and do dom element check

* formating

* added rust files

* generated bindings

* rename to ipc

* add more examples

* move file

* new img

* refactor

* add clippy and tests

* imrpove clippy

* add semi

* enable release profile

* refactor

* first changeset

* version changeset

* version app

* move version in front of tagname

* do not error on local

* run after build

* use another workflow for clippy
This commit is contained in:
Vilian Gerdzhikov
2023-05-19 06:09:42 +03:00
committed by GitHub
parent fa8b6cd215
commit 12365282a3
32 changed files with 1909 additions and 223 deletions

34
.github/workflows/clippy.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Build and publish
on:
workflow_dispatch:
pull_request:
jobs:
publish-tauri:
runs-on: 'ubuntu-20.04'
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: rui314/setup-mold@v1
with:
make-default: false
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: install dependencies (ubuntu only)
if: matrix.platform == 'ubuntu-20.04'
run: |
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf
- name: Clippy & Tests
run: |
cd src-tauri
cargo clippy --all --tests -- -W clippy::nursery -W clippy::pedantic -A clippy::module-name-repetitions -D clippy::unwrap_used
cargo test --all