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
6 changes: 3 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.22.6'
go-version: "1.26"
- name: Run GoReleaser (dry run)
uses: goreleaser/goreleaser-action@v6
with:
args: release --snapshot # Perform a dry run
version: '~> v2'
version: "~> v2"
4 changes: 2 additions & 2 deletions .github/workflows/linting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.22.6'
go-version: "1.26"
- name: Install Tools
run: |
go install mvdan.cc/gofumpt@latest
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: goreleaser
on:
push:
tags:
- '*'
- "*"
permissions:
contents: write
jobs:
Expand All @@ -14,9 +14,9 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.22.6'
go-version: "1.26"
- uses: actions/create-github-app-token@v1
id: app-token
with:
Expand All @@ -26,7 +26,7 @@ jobs:
uses: goreleaser/goreleaser-action@v6
with:
distribution: goreleaser
version: '~> v2'
version: "~> v2"
args: release --clean
workdir: ./
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unittest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.22.6'
go-version: "1.26"
- name: Run tests with coverage
run: |
go test -coverprofile=coverage.out ./...
26 changes: 13 additions & 13 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ archives:
- README.md
- LICENSE
- docs/*
aurs:
- name: 'ginx-bin'
homepage: 'https://github.com/didactiklabs/ginx'
description: 'Ginx is a cli tool that watch a remote repository and run an arbitrary command on changes/updates.'
maintainers:
- 'Victor Hang <vhvictorhang@gmail.com>'
license: 'MIT'
private_key: '{{ .Env.AUR_KEY }}'
git_url: 'ssh://aur@aur.archlinux.org/ginx-bin.git'
commit_author:
name: 'Victor Hang'
email: 'vhvictorhang@gmail.com'
skip_upload: auto
# aurs:
# - name: 'ginx-bin'
# homepage: 'https://github.com/didactiklabs/ginx'
# description: 'Ginx is a cli tool that watch a remote repository and run an arbitrary command on changes/updates.'
# maintainers:
# - 'Victor Hang <vhvictorhang@gmail.com>'
# license: 'MIT'
# private_key: '{{ .Env.AUR_KEY }}'
# git_url: 'ssh://aur@aur.archlinux.org/ginx-bin.git'
# commit_author:
# name: 'Victor Hang'
# email: 'vhvictorhang@gmail.com'
# skip_upload: auto
4 changes: 1 addition & 3 deletions docs/ginx.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ ginx

### Synopsis


Ginx is a cli tool that watch a remote repository and run an arbitrary command on changes/updates.


```
ginx [flags] -- <command>
```
Expand All @@ -25,4 +23,4 @@ ginx [flags] -- <command>
-v, --version display version information
```

###### Auto generated by spf13/cobra on 27-Dec-2024
###### Auto generated by spf13/cobra on 30-Mar-2026
50 changes: 26 additions & 24 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,42 +1,44 @@
module github.com/didactiklabs/ginx

go 1.23.3
go 1.25.0

require (
github.com/go-git/go-git/v5 v5.13.2
github.com/spf13/cobra v1.8.1
go.uber.org/zap v1.27.0
github.com/go-git/go-git/v5 v5.17.1
github.com/spf13/cobra v1.10.2
go.uber.org/zap v1.27.1
)

require (
dario.cat/mergo v1.0.0 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v1.1.5 // indirect
github.com/cloudflare/circl v1.3.7 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.4 // indirect
github.com/cyphar/filepath-securejoin v0.3.6 // indirect
dario.cat/mergo v1.0.2 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/ProtonMail/go-crypto v1.4.1 // indirect
github.com/cloudflare/circl v1.6.3 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
github.com/cyphar/filepath-securejoin v0.6.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.6.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/go-git/go-billy/v5 v5.8.0 // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/pjbgf/sha1cd v0.3.2 // indirect
github.com/kevinburke/ssh_config v1.6.0 // indirect
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
github.com/pjbgf/sha1cd v0.5.0 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
github.com/skeema/knownhosts v1.3.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/sergi/go-diff v1.4.0 // indirect
github.com/skeema/knownhosts v1.3.2 // indirect
github.com/spf13/pflag v1.0.10 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
go.uber.org/multierr v1.10.0 // indirect
golang.org/x/crypto v0.32.0 // indirect
golang.org/x/mod v0.17.0 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/sync v0.10.0 // indirect
golang.org/x/sys v0.29.0 // indirect
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
go.uber.org/multierr v1.11.0 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/crypto v0.49.0 // indirect
golang.org/x/mod v0.34.0 // indirect
golang.org/x/net v0.52.0 // indirect
golang.org/x/sync v0.20.0 // indirect
golang.org/x/sys v0.42.0 // indirect
golang.org/x/tools v0.43.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading
Loading