Skip to content

Commit

Permalink
add ci to execute cargo check
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Dec 3, 2024
1 parent fd44489 commit 0de89b2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/cargo-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust Code Check

on:
pull_request:
types: [opened, synchronize, reopened]

jobs:
cargo-check:
name: Cargo Check
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
profile: minimal
override: true

- name: Run Cargo Check
run: cargo check --target=wasm32-unknown-unknown

0 comments on commit 0de89b2

Please sign in to comment.