Skip to content

Commit 42878d0

Browse files
committed
fix(ci): Run check instead of build
1 parent d103c91 commit 42878d0

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.github/workflows/rust.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
push:
66
branches:
77
- master
8+
tags:
9+
- 'v*.*.*'
10+
- 'alpha_v*'
811
pull_request:
912
branches:
1013
- master
@@ -47,16 +50,10 @@ jobs:
4750
command: fmt
4851
args: --all -- --check
4952

50-
- name: Run cargo build
53+
- name: Run cargo check
5154
uses: actions-rs/cargo@v1
5255
with:
53-
command: build
54-
55-
- name: Run cargo build (release)
56-
uses: actions-rs/cargo@v1
57-
with:
58-
command: build
59-
args: --release
56+
command: check
6057

6158
- name: Run cargo clippy
6259
uses: actions-rs/cargo@v1

0 commit comments

Comments
 (0)