mirror of
https://github.com/starship/starship.git
synced 2026-06-22 02:02:12 +07:00
feat: Add Undistract Me Feature (#1019)
Often it is handy to get notified when the execution of a command finished. This commit includes notify-rust in order to generate a desktop notification when a command execution finished.
This commit is contained in:
@@ -27,6 +27,9 @@ jobs:
|
||||
profile: minimal
|
||||
components: rustfmt
|
||||
|
||||
- name: Setup | libdbus (ubuntu)
|
||||
run: sudo apt-get install libdbus-1-dev
|
||||
|
||||
- name: Build | Format
|
||||
run: cargo fmt --all -- --check
|
||||
|
||||
@@ -51,6 +54,10 @@ jobs:
|
||||
target
|
||||
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
|
||||
- name: Setup | libdbus (ubuntu)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get install libdbus-1-dev
|
||||
|
||||
- name: Setup | Rust
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
@@ -108,6 +115,11 @@ jobs:
|
||||
- name: Setup | Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Setup | libdbus (ubuntu)
|
||||
if: matrix.os == 'ubuntu-latest'
|
||||
run: sudo apt-get install libdbus-1-dev
|
||||
|
||||
# Cache files between builds
|
||||
- name: Setup | Cache Cargo
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
@@ -132,4 +144,4 @@ jobs:
|
||||
|
||||
# Run the ignored tests that expect the above setup
|
||||
- name: Build | Test
|
||||
run: cargo test -- -Z unstable-options --include-ignored
|
||||
run: cargo test --all-features -- -Z unstable-options --include-ignored
|
||||
|
||||
Reference in New Issue
Block a user