Skip to content

Commit

Permalink
add github action support
Browse files Browse the repository at this point in the history
  • Loading branch information
zhboner committed May 11, 2020
1 parent c54377c commit fcbec7e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/relay.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
on: [push]

name: build

jobs:
check:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install latest stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy

- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check

- name: Run cargo build
uses: actions-rs/cargo@v1
with:
command: build --release

0 comments on commit fcbec7e

Please sign in to comment.