Skip to content

Commit 5e2a570

Browse files
Description of changes
1 parent 86156ff commit 5e2a570

2 files changed

Lines changed: 31 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v3
18+
19+
- name: Install Rust
20+
uses: actions-rs/toolchain@v1
21+
with:
22+
toolchain: stable
23+
profile: minimal
24+
override: true
25+
26+
- name: Build
27+
run: cargo build --verbose
28+
29+
- name: Run tests
30+
run: cargo test --verbose

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
A production-ready, multi-protocol web platform built with Rust
1616
<br>
1717
<br>
18+
<a href="https://github.com/your-org/core-web/actions"><img src="https://github.com/your-org/core-web/workflows/CI/badge.svg" alt="CI Status"></a>
1819
<a href="https://crates.io/crates/core-web"><img src="https://img.shields.io/crates/v/core-web.svg" alt="Crates.io"></a>
1920
<a href="https://docs.rs/core-web"><img src="https://docs.rs/core-web/badge.svg" alt="Documentation"></a>
2021
<a href="LICENSE"><img src="https://img.shields.io/crates/l/core-web.svg" alt="License"></a>

0 commit comments

Comments
 (0)