Skip to content

Commit

Permalink
switch to gh actions
Browse files Browse the repository at this point in the history
  • Loading branch information
jordy25519 committed Nov 17, 2021
1 parent c197377 commit ae1036f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 4 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Build

on:
pull_request:
branches:
- master
paths:
- "**.rs"
- "**.toml"
- "**.lock"
- ".github/workflows/*.yml"

jobs:
format-build-test:
runs-on: [ubuntu-latest]
steps:
- name: Check out
uses: actions/checkout@v2
- name: Install toolchain
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
components: rustfmt
default: true
- name: Format
run: cargo fmt --all -- --check
- name: Build
run: cargo check --locked
- name: Test
run: cargo test --all

4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

0 comments on commit ae1036f

Please sign in to comment.