Skip to content

Commit

Permalink
fix(ci): Run check instead of build
Browse files Browse the repository at this point in the history
  • Loading branch information
gillchristian committed Jun 23, 2020
1 parent d103c91 commit 42878d0
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
push:
branches:
- master
tags:
- 'v*.*.*'
- 'alpha_v*'
pull_request:
branches:
- master
Expand Down Expand Up @@ -47,16 +50,10 @@ jobs:
command: fmt
args: --all -- --check

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

- name: Run cargo build (release)
uses: actions-rs/cargo@v1
with:
command: build
args: --release
command: check

- name: Run cargo clippy
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 42878d0

Please sign in to comment.