Skip to content

Commit

Permalink
properly switch to github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2bd committed May 26, 2021
1 parent 0fa880e commit 668dce7
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 138 deletions.
72 changes: 0 additions & 72 deletions .circleci/config.yml

This file was deleted.

65 changes: 0 additions & 65 deletions .github/workflows/ci.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Rust

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup
run: |
rustup toolchain install 1.51.0-x86_64-unknown-linux-gnu
rustup component add rustfmt --toolchain 1.51.0-x86_64-unknown-linux-gnu
rustup component add clippy --toolchain 1.51.0-x86_64-unknown-linux-gnu
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Rustfmt
run: cargo fmt -- --check
- name: Clippy
run: cargo clippy --all-targets
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# FastPay

[![Build Status](https://circleci.com/gh/novifinancial/fastpay/tree/master.svg?style=shield)](https://circleci.com/gh/novifinancial/fastpay/tree/master)
[![Build Status](https://github.com/novifinancial/fastpay/actions/workflows/rust.yml/badge.svg)](https://github.com/novifinancial/fastpay/actions/workflows/rust.yml)
[![License](https://img.shields.io/badge/license-Apache-green.svg)](LICENSE.md)

This repository is dedicated to sharing material related to the FastPay protocol, developed at Novi Financial (formerly Calibra). Software is provided for research-purpose only and is not meant to be used in production.
Expand Down
1 change: 1 addition & 0 deletions rust-toolchain
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.51.0
2 changes: 2 additions & 0 deletions rustfmt.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
edition = "2018"
use_field_init_shorthand = true

0 comments on commit 668dce7

Please sign in to comment.