Skip to content

Commit

Permalink
feat: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cocool97 committed Oct 24, 2024
1 parent 95fe89a commit c53f5cc
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/rust-quality.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Rust - Quality

on: [push]
on:
push:
branches:
- '**'
pull_request:
types: [opened, synchronize, reopened]


env:
CARGO_TERM_COLOR: always
Expand All @@ -21,12 +27,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Run formatter
run : cargo fmt
run : cargo fmt --all --check

tests:
name: "tests"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose
- uses: actions/checkout@v4
- name: Run tests
run: cargo test --verbose

0 comments on commit c53f5cc

Please sign in to comment.