Skip to content

Commit 9500e7e

Browse files
committed
Updated github workflow
1 parent 6a0700b commit 9500e7e

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed

.github/workflows/rust.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Rust
22

33
on:
44
pull_request:
5-
branches: [ "dev" ]
5+
branches: [ "dev", "rewrite/v3" ]
66
push:
7-
branches: [ "dev" ]
7+
branches: [ "dev", "rewrite/v3" ]
88
workflow_dispatch:
99

1010
env:
@@ -35,6 +35,12 @@ jobs:
3535
with:
3636
targets: ${{ matrix.target }}
3737

38+
- name: Run Clippy
39+
uses: ClementTsang/[email protected]
40+
with:
41+
args: -- -Dwarnings
42+
command: clippy
43+
3844
- name: Build
3945
uses: ClementTsang/[email protected]
4046
with:
@@ -52,13 +58,3 @@ jobs:
5258
with:
5359
name: ferrumc-${{ matrix.os }}
5460
path: target/${{ matrix.target }}/release/ferrumc*
55-
56-
# Uncomment the following block if you want to send a message to Discord:
57-
# - name: Send message to Discord
58-
# env:
59-
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
60-
# uses: Ilshidur/action-discord@master
61-
# with:
62-
# args: 'A new commit has been pushed!
63-
#
64-
# {{ EVENT_PAYLOAD.head_commit.url }}'

0 commit comments

Comments
 (0)