Skip to content

Commit

Permalink
ci: add lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
phildenhoff committed Feb 17, 2024
1 parent 58c60e5 commit 2346519
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,32 @@ jobs:
- name: Check Formatting
run: bun format:check

lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4

- uses: oven-sh/setup-bun@v1
with:
bun-version: latest

- run: rustup toolchain install stable --profile minimal

- uses: Swatinem/rust-cache@v2
with:
# using the default — we can bust the cache by changing this
prefix-key: "v0-rust"
workspaces: "src-tauri"

- name: Install node packages
run: bun install

- name: List installed versions
run: |
bun --version;
cargo --version;
bun tauri --version;
- name: Check Formatting
run: bun lint

0 comments on commit 2346519

Please sign in to comment.