Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Commit

Permalink
Migrate from Travis CI to Github Workflows (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
crsaracco authored Nov 7, 2020
1 parent 88748f2 commit 9ddb54f
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 55 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Rust

on: [push, pull_request]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]

steps:
- uses: actions/checkout@v2
- name: Install latest stable rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
# - name: Clippy
# run: cargo clippy --all-targets --all-features -- -D warnings -A clippy::unreadable_literal -A clippy::needless_range_loop -A clippy::float_cmp -A clippy::comparison-chain -A clippy::needless-doctest-main -A clippy::missing-safety-doc
- name: Format check
run: cargo fmt --all -- --check
55 changes: 0 additions & 55 deletions .travis.yml

This file was deleted.

0 comments on commit 9ddb54f

Please sign in to comment.