Skip to content

Commit c42c0fc

Browse files
committed
github ci: fix linux deps and bump actions/checkout to v5
1 parent 69f846c commit c42c0fc

5 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v1
16+
uses: actions/checkout@v5
1717
- name: Build Linux
1818
run: ./make.sh all

.github/workflows/macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ jobs:
1313
runs-on: macos-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v1
16+
uses: actions/checkout@v5
1717
- name: Build macOS
1818
run: ./make.sh all

make.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ if [[ "${DEPS}" == "1" ]]; then
7070
if [ "${OS}" == "Linux" ]; then
7171
DISTRO="$(lsb_release -i | awk -F':\t' '{print $2}')"
7272
if [[ "${DISTRO}" == "Ubuntu" ]]; then
73-
sudo apt install git cmake build-essential python3-six || exiterr "deps failed (linux), exiting."
73+
sudo apt update && sudo apt install git cmake build-essential python3-six || exiterr "deps failed (linux), exiting."
7474
else
7575
exiterr "deps failed (unsupported linux distro ${DISTRO}), exiting."
7676
fi

src/cpuusage

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
# Copyright (C) 2017-2025 Kristofer Berggren
3+
# Copyright (C) 2017-2026 Kristofer Berggren
44
# All rights reserved.
55
#
66
# cpuusage is distributed under the BSD 3-Clause license, see LICENSE for
@@ -78,9 +78,9 @@ showusage()
7878
# Version
7979
showversion()
8080
{
81-
echo "cpuusage v1.50"
81+
echo "cpuusage v1.51"
8282
echo ""
83-
echo "Copyright (C) 2017-2025 Kristofer Berggren"
83+
echo "Copyright (C) 2017-2026 Kristofer Berggren"
8484
echo ""
8585
echo "cpuusage is distributed under the BSD 3-Clause license."
8686
echo ""

src/cpuusage.1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.\" DO NOT MODIFY THIS FILE! It was generated by help2man.
2-
.TH CPUUSAGE "1" "January 2025" "cpuusage v1.50" "User Commands"
2+
.TH CPUUSAGE "1" "May 2026" "cpuusage v1.51" "User Commands"
33
.SH NAME
44
cpuusage \- instrumentation CPU profiler
55
.SH SYNOPSIS
@@ -126,6 +126,6 @@ Written by Kristofer Berggren
126126
.SH "REPORTING BUGS"
127127
Report bugs at https://github.com/d99kris/cpuusage
128128
.SH COPYRIGHT
129-
Copyright \(co 2017\-2025 Kristofer Berggren
129+
Copyright \(co 2017\-2026 Kristofer Berggren
130130
.PP
131131
cpuusage is distributed under the BSD 3\-Clause license.

0 commit comments

Comments
 (0)