Skip to content

Commit

Permalink
Setup check.yml github actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
bezbac committed Nov 10, 2024
1 parent 3f36f91 commit a94b9c8
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Check"

on:
workflow_dispatch:
push:

defaults:
run:
working-directory: ./zellij

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt, clippy
targets: wasm32-wasi

- name: Check formatting
run: rustfmt --check

- name: Check clippy
run: cargo clippy -- -D clippy::all -D clippy::pedantic -A clippy::no_mangle_with_rust_abi

0 comments on commit a94b9c8

Please sign in to comment.