Skip to content

Commit

Permalink
ci: resolve stale messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
sitkevij committed Jan 2, 2024
2 parents aeac4ed + ca02480 commit bfbf86a
Show file tree
Hide file tree
Showing 9 changed files with 143 additions and 129 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: release
on:
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
workflow_dispatch:

jobs:
build:
runs-on: rust-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- run: | # Since v2.0.0 the deb package version will have a "-1" suffix. You can disable this by adding --deb-revision="" flag or revision = "" in Cargo metadata. The default suffix is for compliance with Debian's packaging standard.
cargo install cargo-deb
cargo deb
- name: Release
uses: softprops/action-gh-release@v1
with:
files: target/debian/*.deb # /hex/target/debian/hx_0.5.0-1_amd64.deb
14 changes: 9 additions & 5 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@ jobs:
steps:
- uses: actions/stale@v8
with:
stale-issue-message: "This issue has been marked stale due to no recent activity."
stale-pr-message: "This PR has been marked stale due to no recent activity."
close-issue-message: "This issue was closed due to no activity for an extended period."
close-pr-message: "This PR was closed due to no activity for an extended period."
stale-issue-message: "Issue marked stale due to no recent activity."
stale-issue-label: "stale"
exempt-issue-labels: "enhancement, help wanted, in progress, upstream"
stale-pr-message: "PR marked stale due to no recent activity."
stale-pr-label: "stale"
exempt-pr-labels: "enhancement, help wanted, in progress, upstream"
close-issue-message: "Issue closed due to lack of activity for an extended period."
close-pr-message: "PR closed due to lack of activity for an extended period."
days-before-issue-stale: 30
days-before-pr-stale: 45
days-before-issue-close: 5
days-before-pr-close: 10
- uses: dessant/lock-threads@v5
with:
exclude-any-issue-labels: "help wanted, upstream, in progress"
exclude-any-issue-labels: "enhancement, help wanted, in progress, upstream"
process-only: "issues"
40 changes: 1 addition & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 5 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ categories = ["command-line-utilities", "development-tools"]
description = "Futuristic take on hexdump, made in Rust."
repository = "https://github.com/sitkevij/hex"
keywords = ["hexdump", "hexadecimal", "tools", "ascii", "hex"]
include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "hx.1"]
include = ["src/**/*", "Cargo.toml", "Cargo.lock", "README.md", "hx.1", "tests/**/*"]
license = "MIT"
name = "hx"
readme = "README.md"
version = "0.5.0"
version = "0.6.0"
edition = "2021"

# see https://doc.rust-lang.org/cargo/reference/manifest.html
Expand All @@ -26,11 +26,10 @@ panic = 'unwind' # panic strategy (`-C panic=...`), can also be 'abort'
opt-level = 3

[dependencies]
clap = "4.4.8"
clap = "4.4"
ansi_term = "0.12"
atty = "0.2"
no_color = "0.1"

[dev-dependencies]
assert_cmd = "2.0.12"
rusty-hook = "^0.11.2"
assert_cmd = "2.0"
rusty-hook = "^0.11"
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@ pacman -S hex

### debian install

Browse https://github.com/sitkevij/hex/releases/latest to choose `VERSION` for use with this debian
installation example:

```sh
curl -sLO https://github.com/sitkevij/hex/releases/download/v0.4.2/hx_0.4.2_amd64.deb && dpkg -i hx_0.4.2_amd64.deb
VERSION=0.6.0 && curl -sLO "https://github.com/sitkevij/hex/releases/download/v$VERSION/hx_$VERSION-1_amd64.deb" && dpkg -i "hx_$VERSION-1_amd64.deb"
```

### guix install
Expand Down
Loading

0 comments on commit bfbf86a

Please sign in to comment.