Skip to content

Commit

Permalink
chore: include CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
CompeyDev committed Apr 10, 2024
1 parent 2c103ef commit 707607e
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
pull_request:
workflow_dispatch:

jobs:
ci:
name: CI
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true

- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
components: rustfmt, clippy

- name: Rustfmt
run: cargo fmt -- --check

- name: Build
run: cargo build

- name: Clippy
run: cargo clippy

0 comments on commit 707607e

Please sign in to comment.