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:
committed by
GitHub
parent
fa8b6cd215
commit
12365282a3
34
.github/workflows/clippy.yml
vendored
Normal file
34
.github/workflows/clippy.yml
vendored
Normal 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
|
||||
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -74,7 +74,7 @@ jobs:
|
||||
TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
|
||||
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
|
||||
with:
|
||||
tagName: __VERSION__v
|
||||
tagName: v__VERSION__
|
||||
releaseName: 'Svelte-Tauri v__VERSION__'
|
||||
releaseBody: 'See the assets to download this version and install.'
|
||||
releaseDraft: false
|
||||
|
||||
Reference in New Issue
Block a user