Skip to content

Update tauri-builds.yml (#156) #38

Update tauri-builds.yml (#156)

Update tauri-builds.yml (#156) #38

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
paths:
- '**.rs'
- '**.js'
- '**.vue'
- '**.toml'
- '**.yml'
- '**.json'
jobs:
check-formatting:
name: Check formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: hecrj/setup-rust-action@v1
with:
rust-version: nightly
components: rustfmt
- uses: taiki-e/install-action@v2
with:
tool: typos-cli
- name: Check Rust Formatting
run: cd src-tauri && cargo +nightly fmt --all -- --check
- name: Run Typos
run: typos
- name: Prettify code
uses: creyD/[email protected]
with:
dry: True