Skip to content

Commit 448b804

Browse files
authored
Merge pull request #50 from jim4067/patch-2
add cargo fmt to workflow and github actions badge
2 parents ebe1f27 + ee58f77 commit 448b804

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/rust.yml renamed to .github/workflows/ci.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Rust
1+
name: CI
22

33
on:
44
push:
@@ -16,6 +16,8 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v2
19+
- name: Run rustfmt
20+
run: cargo fmt -- --check
1921
- name: Build
2022
run: cargo build --verbose
2123
- name: Run tests

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
`annotate-snippets` is a Rust library for annotation of programming code slices.
44

55
[![crates.io](https://img.shields.io/crates/v/annotate-snippets.svg)](https://crates.io/crates/annotate-snippets)
6-
[![Build Status](https://travis-ci.org/rust-lang/annotate-snippets-rs.svg?branch=master)](https://travis-ci.org/rust-lang/annotate-snippets-rs)
6+
![build status](https://github.com/rust-lang/annotate-snippets-rs/actions/workflows/ci.yml/badge.svg)
77
[![Coverage Status](https://coveralls.io/repos/github/rust-lang/annotate-snippets-rs/badge.svg?branch=master)](https://coveralls.io/github/rust-lang/annotate-snippets-rs?branch=master)
88

99
The library helps visualize meta information annotating source code slices.

0 commit comments

Comments
 (0)