Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Rust continuous integration

on:
workflow_call:

pull_request:
branches: ["master"]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: download protoc
run: sudo apt-get install -y protobuf-compiler
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Run format check
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy -- -D warnings
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
*/target
/data
/docker-data
admin.macaroon
tls.cert
*.macaroon
*.cert
.idea
.supermaven
Loading