Skip to content

Commit

Permalink
some ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Alw3ys committed Dec 13, 2023
1 parent d9c1084 commit aaed035
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: ci

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
ci:
runs-on: ubuntu-22.04

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Rust
uses: dsherret/rust-toolchain-file@v1

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

- name: Check linting
run: cargo clippy --release --all-targets --all-features -- -D clippy::all
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ prost = { version = "0.12.3" }
prost-build = { version = "0.12.3" }
bytes = { version = "1.5.0" }
dotenv = { version = "0.15.0" }

0 comments on commit aaed035

Please sign in to comment.