Skip to content

Commit

Permalink
Add simple GitHub pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
koxu1996 committed Nov 21, 2024
1 parent b8efd16 commit dac18b2
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust CI

on:
push:
branches:
- master
pull_request:

jobs:
build:
runs-on: ubuntu-latest

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

- name: Check code formatting
run: cargo fmt -- --check

- name: Lint code
run: cargo clippy --all-targets --all-features -- -D warnings

- name: Build library
run: cargo build --release

0 comments on commit dac18b2

Please sign in to comment.