Skip to content

Commit

Permalink
Updated github action dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
orium committed Feb 12, 2024
1 parent 5cd34f5 commit e8228af
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
cargo install cargo-deadlinks
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
uses: actions/checkout@v4

- name: Check everything
run: bash ./tools/check.sh
Expand All @@ -53,9 +51,7 @@ jobs:
run: cargo install cargo-msrv

- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 2
uses: actions/checkout@v4

- name: Check the minimum supported rust version
run: cargo msrv verify
10 changes: 3 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ jobs:
release:
name: release ${{ matrix.target }}

# TODO Change this to `ubuntu-latest` once it is updated to 22.04.
runs-on: ubuntu-22.04
runs-on: ubuntu-latest

strategy:
fail-fast: false
Expand All @@ -23,13 +22,10 @@ jobs:
run: |
sudo apt-get install -y libpango1.0-dev libgraphene-1.0-dev libgtk-4-dev
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2
- uses: actions/checkout@v4

- name: Build release binary
uses: rust-build/[email protected].0
uses: rust-build/[email protected].4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ fn main() {
}
Ok(SendShowSignalOrListen::SignalSent) => {
// We sent the signal. Nothing else to do now.
println!("sent signal to running shrug.");
}
Err(e) => {
eprintln!("error: failed to send signal: {e}");
Expand Down

0 comments on commit e8228af

Please sign in to comment.