Skip to content

Commit

Permalink
Update CI settings
Browse files Browse the repository at this point in the history
  • Loading branch information
termoshtt committed Jun 20, 2020
1 parent 65d1de3 commit 3ddcba8
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/rust.yml
@@ -1,13 +1,25 @@
name: Rust

on: [push, pull_request]
on:
push:
branches:
- master
pull_request: {}

jobs:
build:
runs-on: ubuntu-latest
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- uses: actions-rs/cargo@v1
with:
command: test

check-format:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- uses: actions-rs/cargo@v1
with:
command: fmt
args: -- --check

0 comments on commit 3ddcba8

Please sign in to comment.