Skip to content

Commit

Permalink
fix(): Split tauri and nx to different jobs in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
monntecc committed Jul 10, 2024
1 parent a60b69d commit ebd9139
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,17 @@ permissions:
contents: read

jobs:
ci:
tauri:
runs-on: ubuntu-latest
steps:
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy

- run: cargo check --target-dir "/home/runner/work/lunaeditor/lunaeditor/libs/luna-api"
nx:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -41,16 +51,3 @@ jobs:

# Lint, test and build
- run: npx nx run-many -t lint test build --all --skip-nx-cache

# Cargo configuration
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check --target-dir "/home/runner/work/lunaeditor/lunaeditor/libs/luna-api"

0 comments on commit ebd9139

Please sign in to comment.