generated from marc2332/tauri-deno-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25611e1
commit 81a1128
Showing
7 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,30 +26,35 @@ jobs: | |
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libayatana-appindicator3-dev librsvg2-dev | ||
- uses: actions/checkout@v4.1.7 | ||
- uses: actions/checkout@v4.2.2 | ||
- name: Rust cache | ||
uses: Swatinem/[email protected].3 | ||
uses: Swatinem/[email protected].6 | ||
with: | ||
prefix-key: cargo-${{ matrix.platform }} | ||
- name: Install components | ||
run: | | ||
rustup component add clippy | ||
rustup component add rustfmt | ||
- name: Format Check | ||
run: cargo fmt --all -- --check | ||
- name: Lint Check | ||
run: cargo clippy --workspace -- -D warnings | ||
- name: Test(Rust) | ||
run: cargo test --workspace | ||
|
||
# https://nexte.st/docs/installation/pre-built-binaries/#using-nextest-in-github-actions | ||
- name: Install nextest(Parallel Test Execution CLI) | ||
uses: taiki-e/install-action@nextest | ||
- name: Test | ||
run: cargo nextest run --workspace | ||
|
||
- name: Sync node version | ||
uses: actions/setup-node@v4.0.3 | ||
uses: actions/setup-node@v4.1.0 | ||
with: | ||
node-version: 'lts/*' | ||
cache: 'npm' | ||
|
||
- name: Node.js cache | ||
uses: actions/cache@v4.0.2 | ||
uses: actions/cache@v4.2.0 | ||
with: | ||
path: ${{ github.workspace }}/gui/frontend/.next/cache | ||
# Generate a new cache whenever packages or source files change. | ||
|
@@ -84,7 +89,7 @@ jobs: | |
mv ./target/release/bluetooth_battery_monitor ./build | ||
- name: Upload a Build Artifact | ||
uses: actions/upload-artifact@v4.3.4 | ||
uses: actions/upload-artifact@v4.5.0 | ||
with: | ||
name: Bluetooth Battery Monitor ${{runner.os}} | ||
path: | | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#![allow(clippy::cargo_common_metadata)] | ||
|
||
fn main() { | ||
tauri_build::build() | ||
tauri_build::build(); | ||
} |
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