Skip to content

Commit

Permalink
Updates and lint (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnewhall authored Feb 3, 2024
2 parents b6bd577 + 6a52e96 commit 822c87e
Show file tree
Hide file tree
Showing 26 changed files with 315 additions and 285 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/codetests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: stable
- name: go-generate
run: go generate ./...
- name: go-test
Expand Down Expand Up @@ -44,13 +44,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: stable
- name: go-generate
run: GOOS=darwin go generate ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: 'v1.54'
version: 'v1.55'

golangci-linux:
# description: "Runs golangci-lint on linux against linux and windows."
Expand All @@ -65,13 +65,13 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: stable
- name: go-generate
run: GOOS=linux go generate ./...
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: 'v1.54'
version: 'v1.55'

homebrew-test:
# description: "Installs dependencies on macOS and runs `make install` to mimic a homebrew install."
Expand All @@ -81,7 +81,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.21'
go-version: stable
- name: go-generate
run: go generate ./...
- name: make-install
Expand Down
75 changes: 38 additions & 37 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,70 +10,70 @@ require (
github.com/dsnet/compress v0.0.1
github.com/energye/systray v1.0.2
github.com/fsnotify/fsnotify v1.7.0
github.com/gen2brain/beeep v0.0.0-20230907135156-1a38885a97fc
github.com/gen2brain/beeep v0.0.0-20240112042604-c7bb2cd88fea
github.com/gen2brain/dlgs v0.0.0-20220603100644-40c77870fa8d
github.com/go-ping/ping v1.1.0
github.com/go-sql-driver/mysql v1.7.1
github.com/gonutz/w32/v2 v2.10.0
github.com/gorilla/mux v1.8.0
github.com/gorilla/schema v1.2.0
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/websocket v1.5.0
github.com/gonutz/w32/v2 v2.11.1
github.com/gorilla/mux v1.8.1
github.com/gorilla/schema v1.2.1
github.com/gorilla/securecookie v1.1.2
github.com/gorilla/websocket v1.5.1
github.com/hako/durafmt v0.0.0-20210608085754-5c1018a4e16b
github.com/hekmon/transmissionrpc/v3 v3.0.0
github.com/hugelgupf/go-shlex v0.0.0-20200702092117-c80c9d0918fa
github.com/jackpal/gateway v1.0.10
github.com/jackpal/gateway v1.0.13
github.com/jaypipes/ghw v0.12.0
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0
github.com/kevinburke/go-bindata/v4 v4.0.2
github.com/lestrrat-go/apache-logformat/v2 v2.0.6
github.com/mitchellh/go-homedir v1.1.0
github.com/mrobinsn/go-rtorrent v1.8.0
github.com/nxadm/tail v1.4.11
github.com/shirou/gopsutil/v3 v3.23.10
github.com/shirou/gopsutil/v3 v3.24.1
github.com/spf13/pflag v1.0.6-0.20210604193023-d5e0c0615ace
github.com/stretchr/testify v1.8.4
github.com/swaggo/swag v1.16.2
golang.org/x/crypto v0.14.0
github.com/swaggo/swag v1.16.3
golang.org/x/crypto v0.18.0
golang.org/x/mod v0.14.0
golang.org/x/sys v0.14.0
golang.org/x/sys v0.16.0
golang.org/x/text v0.14.0
golang.org/x/time v0.4.0
golang.org/x/time v0.5.0
golift.io/cache v0.0.2
golift.io/cnfg v0.2.2
golift.io/cnfg v0.2.3
golift.io/cnfgfile v0.0.0-20230531075023-f880041cc0a0
golift.io/datacounter v1.0.4
golift.io/deluge v0.10.1
golift.io/mulery v0.0.4
golift.io/mulery v0.0.5
golift.io/nzbget v0.1.5
golift.io/qbit v0.0.0-20230904231408-277087540366
golift.io/qbit v0.0.0-20240203190039-8f98b32d1e66
golift.io/rotatorr v0.0.0-20230911015553-cd2abbd726c7
golift.io/starr v1.0.1-0.20231103013021-4a3f9d0d4fb4
golift.io/version v0.0.2
golift.io/xtractr v0.2.2
modernc.org/sqlite v1.27.0
modernc.org/sqlite v1.28.0
)

require (
github.com/KyleBanks/depth v1.2.1 // indirect
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/andybalholm/brotli v1.0.6 // indirect
github.com/andybalholm/brotli v1.1.0 // indirect
github.com/bodgit/plumbing v1.3.0 // indirect
github.com/bodgit/sevenzip v1.4.3 // indirect
github.com/bodgit/sevenzip v1.4.5 // indirect
github.com/bodgit/windows v1.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/ghodss/yaml v1.0.0 // indirect
github.com/go-ole/go-ole v1.3.0 // indirect
github.com/go-openapi/jsonpointer v0.20.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/spec v0.20.9 // indirect
github.com/go-openapi/swag v0.22.4 // indirect
github.com/go-openapi/jsonpointer v0.20.2 // indirect
github.com/go-openapi/jsonreference v0.20.4 // indirect
github.com/go-openapi/spec v0.20.14 // indirect
github.com/go-openapi/swag v0.22.9 // indirect
github.com/go-toast/toast v0.0.0-20190211030409-01e6764cf0a4 // indirect
github.com/godbus/dbus/v5 v5.1.0 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/gopherjs/gopherjs v1.17.2 // indirect
github.com/gorilla/rpc v1.2.0 // indirect
github.com/gorilla/rpc v1.2.1 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
Expand All @@ -82,38 +82,39 @@ require (
github.com/josharian/intern v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kdomanski/iso9660 v0.4.0 // indirect
github.com/klauspost/compress v1.17.1 // indirect
github.com/klauspost/compress v1.17.5 // indirect
github.com/lestrrat-go/strftime v1.0.6 // indirect
github.com/lufia/plan9stats v0.0.0-20230326075908-cb1d2100619a // indirect
github.com/lufia/plan9stats v0.0.0-20231016141302-07b5767bb0ed // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-isatty v0.0.19 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
github.com/nwaples/rardecode v1.1.3 // indirect
github.com/pierrec/lz4/v4 v4.1.18 // indirect
github.com/pierrec/lz4/v4 v4.1.21 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/power-devops/perfstat v0.0.0-20221212215047-62379fc7944b // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/shoenig/go-m1cpu v0.1.6 // indirect
github.com/stretchr/objx v0.5.1 // indirect
github.com/tadvi/systray v0.0.0-20190226123456-11a2b8fa57af // indirect
github.com/tevino/abool v1.2.0 // indirect
github.com/tklauser/go-sysconf v0.3.12 // indirect
github.com/tklauser/numcpus v0.6.1 // indirect
github.com/tklauser/go-sysconf v0.3.13 // indirect
github.com/tklauser/numcpus v0.7.0 // indirect
github.com/ulikunitz/xz v0.5.11 // indirect
github.com/yusufpapurcu/wmi v1.2.3 // indirect
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go4.org v0.0.0-20230225012048-214862532bf5 // indirect
golang.org/x/net v0.17.0 // indirect
golang.org/x/sync v0.4.0 // indirect
golang.org/x/tools v0.14.0 // indirect
golang.org/x/net v0.20.0 // indirect
golang.org/x/sync v0.6.0 // indirect
golang.org/x/tools v0.17.0 // indirect
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
howett.net/plist v1.0.0 // indirect
howett.net/plist v1.0.1 // indirect
lukechampine.com/uint128 v1.3.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/ccgo/v3 v3.16.15 // indirect
modernc.org/libc v1.29.0 // indirect
modernc.org/libc v1.40.17 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/opt v0.1.3 // indirect
Expand Down
Loading

0 comments on commit 822c87e

Please sign in to comment.