Skip to content

Bump @tauri-apps/cli from 1.5.13 to 1.6.2 #69

Bump @tauri-apps/cli from 1.5.13 to 1.6.2

Bump @tauri-apps/cli from 1.5.13 to 1.6.2 #69

Workflow file for this run

on:
push:
pull_request:
jobs:
linting:
runs-on: ubuntu-latest
name: linting
steps:
- name: checkout codebase
uses: actions/checkout@v4
with:
submodules: true
### Install languages ###
- name: setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"
- name: setup rust
uses: dtolnay/rust-toolchain@stable
with:
components: llvm-tools-preview
### Install language dependencies ###
- name: install yarn
run: npm install --global yarn
- name: install script dependencies
run: yarn install --frozen-lockfile
- name: install rust development tools
uses: taiki-e/install-action@cargo-llvm-cov
- name: install rust dependencies
run: |
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
### Apply cache ###
- name: generate Cargo.lock
run: cargo generate-lockfile
working-directory: ./src/core
- name: cache rust dependencies
uses: swatinem/rust-cache@v2
with:
workspaces: "./src/core -> target"
- name: configure rust compiler cache
run: |
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
- name: cache rust compiler
uses: mozilla-actions/[email protected]
### Build client ###
- name: install node dependencies
run: yarn install --frozen-lockfile
working-directory: ./src/ui
- name: build ui
run: yarn run build
working-directory: ./src/ui
### Linting ###
- name: run clippy
run: cargo clippy --all-targets --all-features
working-directory: ./src/core
- name: run eslint
run: yarn run lint
working-directory: ./src/ui