Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- run: go vet ./...
Expand All @@ -26,8 +26,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- name: gofmt
Expand All @@ -42,7 +42,7 @@ jobs:
run: |
go mod tidy -diff
go mod verify
- uses: golangci/golangci-lint-action@v9
- uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.15.0
# Skip the action's `config verify` step, which downloads a JSON
Expand All @@ -61,11 +61,11 @@ jobs:
env:
GOOS: ${{ matrix.goos }}
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- uses: golangci/golangci-lint-action@v9
- uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.15.0
# Skip the action's `config verify` step, which downloads a JSON
Expand All @@ -79,8 +79,8 @@ jobs:
vulncheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-go@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: stable
- run: go install golang.org/x/vuln/cmd/govulncheck@v1.9.0
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ jobs:
goreleaser:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # the changelog needs the tag history
- uses: actions/setup-go@v7
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: stable
- run: go vet ./...
- run: go test ./...
- uses: goreleaser/goreleaser-action@v7
- uses: goreleaser/goreleaser-action@a4f02ab5355a589de60d917a659ce617ed19b3de # v7.3.0
with:
distribution: goreleaser
version: "~> v2"
Expand Down
24 changes: 17 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pane per process, and live control over each of them: restart, stop, search,
and see what is using your CPU, without a pile of terminal tabs.

[![ci](https://github.com/Prabodh-dev/muster/actions/workflows/ci.yml/badge.svg)](https://github.com/Prabodh-dev/muster/actions/workflows/ci.yml)
[![ci](https://github.com/Prabodh-dev/muster/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Prabodh-dev/muster/actions/workflows/ci.yml)
[![release](https://img.shields.io/github/v/release/Prabodh-dev/muster?include_prereleases)](https://github.com/Prabodh-dev/muster/releases)
[![license](https://img.shields.io/github/license/Prabodh-dev/muster)](LICENSE)

Expand Down Expand Up @@ -78,13 +78,22 @@ which process is running, exited cleanly, or crashed.

Grab the archive for your platform from the
[Releases page](https://github.com/Prabodh-dev/muster/releases). Builds are
published for Linux, macOS and Windows on `amd64` and `arm64`, together with a
`muster_<version>_checksums.txt` file.
published for Linux, macOS and Windows, each as `amd64` and `arm64`, together
with a `muster_<version>_checksums.txt` file.

**Linux and macOS** (replace the version, OS and architecture):
**`amd64` or `arm64`?** Most machines are `amd64` (Intel/AMD: nearly all
Windows PCs, most Linux machines, older Intel Macs). Pick `arm64` only on ARM
hardware: Apple Silicon Macs (M1 and later), a Raspberry Pi on a 64-bit OS, or
an ARM-based Windows device such as the Surface Pro X. Not sure? Run
`uname -m` (`x86_64` means amd64, `arm64` or `aarch64` means arm64), or on
Windows check *Settings → System → About → System type*.

**Linux and macOS** (this picks your OS and architecture for you):

```sh
VERSION=1.0.0 OS=linux ARCH=amd64 # OS: linux | darwin ARCH: amd64 | arm64
VERSION=0.1.0 # latest: see the Releases page
OS=$(uname -s | tr '[:upper:]' '[:lower:]') # linux | darwin
ARCH=$(uname -m | sed 's/x86_64/amd64/; s/aarch64/arm64/') # amd64 | arm64
BASE=https://github.com/Prabodh-dev/muster/releases/download/v$VERSION
curl -LO $BASE/muster_${VERSION}_${OS}_${ARCH}.tar.gz
curl -LO $BASE/muster_${VERSION}_checksums.txt
Expand All @@ -95,8 +104,9 @@ sudo mv muster /usr/local/bin/
muster -version
```

**Windows**: download `muster_<version>_windows_amd64.zip` (or `arm64`),
unzip it, and put `muster.exe` somewhere on your `PATH`. To verify it, compare
**Windows**: download `muster_<version>_windows_amd64.zip` (only choose the
`arm64` one on an ARM-based device), unzip it, and put `muster.exe` somewhere
on your `PATH`. To verify it, compare
`Get-FileHash muster_<version>_windows_amd64.zip` with the checksums file.

The binaries are not code-signed. macOS may block the first run; allow it in
Expand Down
Loading