Skip to content

Commit

Permalink
reworked workflow triggers
Browse files Browse the repository at this point in the history
  • Loading branch information
Arteiii committed Apr 17, 2024
1 parent b10fc1c commit 661979e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/check-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

on:
pull_request:
types: [ opened, synchronize, reopened, edited, unlocked, review_requested ]
push:
branches:
- main
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@

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


name: Test with Code Coverage

jobs:
Expand Down
10 changes: 2 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,9 @@ wondering if your computer has decided to take a coffee break without notifying

100+ predefined animations



- [Spinner](https://docs.rs/zenity/latest/zenity/spinner/frames/struct.Frames.html)
- [Spinner](https://docs.rs/zenity/latest/zenity/spinner/frames/struct.Frames.html)
- [ProgressBar](https://docs.rs/zenity/latest/zenity/progress/frames/struct.Frames.html)





## How to Use?

It's as easy as pie (or maybe even easier, depending on your pie-making skills)!
Expand All @@ -59,7 +53,7 @@ fn main() {

// optional:
// set the text to "Loading..."
spinner.set_text(&spinner.get_last(), " Loading...".to_string());
spinner.set_text(&spinner.get_last(), " Loading...".to_string());

sleep(Duration::from_secs(500));
// `loading_animation` will run out of scope now and get dropped,
Expand Down

0 comments on commit 661979e

Please sign in to comment.