Skip to content

Commit 9bc0cf0

Browse files
committed
Add built/test workflow & badge, drop travis.
1 parent be173dc commit 9bc0cf0

File tree

3 files changed

+18
-35
lines changed

3 files changed

+18
-35
lines changed

.github/workflows/build-and-test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
on: [push]
2+
3+
name: CI
4+
5+
jobs:
6+
build_and_test:
7+
name: Rust project
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions-rs/toolchain@v1
12+
with:
13+
toolchain: stable
14+
- uses: actions-rs/cargo@v1
15+
with:
16+
command: build
17+
args: --release --all-features

.travis.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Build Status](https://travis-ci.org/brndnmtthws/cracking-the-coding-interview-rust.svg?branch=master)](https://travis-ci.org/brndnmtthws/cracking-the-coding-interview-rust) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=brndnmtthws/cracking-the-coding-interview-rust)](https://dependabot.com) [![Coverage Status](https://coveralls.io/repos/github/brndnmtthws/cracking-the-coding-interview-rust/badge.svg?branch=master)](https://coveralls.io/github/brndnmtthws/cracking-the-coding-interview-rust?branch=master)
1+
![Build status](https://github.com/brndnmtthws/cracking-the-coding-interview-rust/actions/workflows/build-and-test.yml/badge.svg) [![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=brndnmtthws/cracking-the-coding-interview-rust)](https://dependabot.com) [![Coverage Status](https://coveralls.io/repos/github/brndnmtthws/cracking-the-coding-interview-rust/badge.svg?branch=master)](https://coveralls.io/github/brndnmtthws/cracking-the-coding-interview-rust?branch=master)
22

33
# Cracking the Coding Interview with Rust
44

0 commit comments

Comments
 (0)