Skip to content

Commit

Permalink
Update rust.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
edfloreshz authored Sep 7, 2024
1 parent 96c4fd7 commit 81ccf22
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Rust
name: Push

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -21,8 +19,6 @@ jobs:
- uses: actions/checkout@v4
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: clippy
uses: auguwu/clippy-action@1.4.0
with:
Expand All @@ -31,4 +27,3 @@ jobs:
uses: mbrobbel/rustfmt-check@master
with:
token: ${{ secrets.GITHUB_TOKEN }}
mode: review

0 comments on commit 81ccf22

Please sign in to comment.