Skip to content

Commit 21f1e40

Browse files
authored
Removed external repo and updated go/deps (#52)
1 parent 8dd8fc9 commit 21f1e40

7 files changed

Lines changed: 113 additions & 43 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,20 +11,20 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-go@v5
14+
- uses: actions/checkout@v6
15+
- uses: actions/setup-go@v6
1616
with:
1717
go-version-file: ./go.mod
18-
- uses: golangci/golangci-lint-action@v5
18+
- uses: golangci/golangci-lint-action@v9
1919
with:
2020
version: latest
2121

2222
test:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- uses: actions/checkout@v4
27-
- uses: actions/setup-go@v5
26+
- uses: actions/checkout@v6
27+
- uses: actions/setup-go@v6
2828
with:
2929
go-version-file: ./go.mod
3030
- uses: arduino/setup-task@v2

.github/workflows/release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,25 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout
19-
uses: actions/checkout@v4
19+
uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222

2323
- name: Fetch all tags
2424
run: git fetch --force --tags
2525

2626
- name: Set up Go
27-
uses: actions/setup-go@v5
27+
uses: actions/setup-go@v6
2828
with:
2929
go-version-file: ./go.mod
3030

3131
- name: Run GoReleaser
32-
uses: goreleaser/goreleaser-action@v5
32+
uses: goreleaser/goreleaser-action@v6
3333
with:
3434
distribution: goreleaser
3535
version: latest
3636
args: release --clean
3737
env:
38+
ACTOR: ${{ github.actor }}
39+
ACTOR_EMAIL: gh-actions-${{ github.actor }}@github.com
3840
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.golangci.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
1+
version: '2'
2+
13
linters:
2-
disable-all: true
4+
default: none
35
enable:
4-
- gofmt
56
- govet
67
- gocritic
78

8-
linters-settings:
9-
gofmt:
10-
simplify: false
9+
formatters:
10+
enable:
11+
- gofmt
12+
13+
settings:
14+
gofmt:
15+
simplify: false

.goreleaser.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ before:
44
hooks:
55
# You may remove this if you don't use go modules.
66
- go mod tidy
7+
78
builds:
89
- main: .
910
binary: nrversions
@@ -16,10 +17,13 @@ builds:
1617
goarch:
1718
- amd64
1819
- arm64
20+
1921
checksum:
2022
name_template: 'checksums.txt'
23+
2124
snapshot:
2225
name_template: "{{ incpatch .Version }}-next"
26+
2327
changelog:
2428
sort: asc
2529
filters:

go.mod

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,49 @@
11
module nrversions
22

3-
go 1.24
3+
go 1.26
44

55
require (
66
blitznote.com/src/semver/v3 v3.2.2
77
github.com/MakeNowJust/heredoc/v2 v2.0.1
88
github.com/dusted-go/logging v1.3.0
9-
github.com/go-git/go-git/v5 v5.14.0
10-
github.com/integrii/flaggy v1.5.2
11-
github.com/jedib0t/go-pretty/v6 v6.6.7
9+
github.com/go-git/go-git/v5 v5.18.0
10+
github.com/integrii/flaggy v1.8.0
11+
github.com/jedib0t/go-pretty/v6 v6.7.10
1212
github.com/jsumners/go-rfc3339 v1.2.0
13-
github.com/spf13/afero v1.12.0
14-
github.com/spf13/cast v1.7.1
15-
github.com/spf13/pflag v1.0.6
16-
github.com/stretchr/testify v1.10.0
13+
github.com/spf13/afero v1.15.0
14+
github.com/spf13/cast v1.10.0
15+
github.com/spf13/pflag v1.0.10
16+
github.com/stretchr/testify v1.11.1
1717
)
1818

1919
require (
20-
dario.cat/mergo v1.0.1 // indirect
20+
dario.cat/mergo v1.0.2 // indirect
2121
github.com/Microsoft/go-winio v0.6.2 // indirect
22-
github.com/ProtonMail/go-crypto v1.1.6 // indirect
23-
github.com/cloudflare/circl v1.6.1 // indirect
24-
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
25-
github.com/davecgh/go-spew v1.1.1 // indirect
22+
github.com/ProtonMail/go-crypto v1.4.1 // indirect
23+
github.com/clipperhouse/uax29/v2 v2.7.0 // indirect
24+
github.com/cloudflare/circl v1.6.3 // indirect
25+
github.com/cyphar/filepath-securejoin v0.6.1 // indirect
26+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2627
github.com/emirpasic/gods v1.18.1 // indirect
2728
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
28-
github.com/go-git/go-billy/v5 v5.6.2 // indirect
29+
github.com/go-git/go-billy/v5 v5.8.0 // indirect
2930
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
3031
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
3132
github.com/jsumners/go-reggie v1.0.0-rc.2 // indirect
32-
github.com/kevinburke/ssh_config v1.2.0 // indirect
33-
github.com/mattn/go-runewidth v0.0.16 // indirect
34-
github.com/pjbgf/sha1cd v0.3.2 // indirect
35-
github.com/pmezard/go-difflib v1.0.0 // indirect
33+
github.com/kevinburke/ssh_config v1.6.0 // indirect
34+
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
35+
github.com/mattn/go-runewidth v0.0.23 // indirect
36+
github.com/pjbgf/sha1cd v0.5.0 // indirect
37+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
3638
github.com/rivo/uniseg v0.4.7 // indirect
37-
github.com/samber/mo v1.13.0 // indirect
38-
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
39-
github.com/skeema/knownhosts v1.3.1 // indirect
39+
github.com/samber/mo v1.16.0 // indirect
40+
github.com/sergi/go-diff v1.4.0 // indirect
41+
github.com/skeema/knownhosts v1.3.2 // indirect
4042
github.com/xanzy/ssh-agent v0.3.3 // indirect
41-
golang.org/x/crypto v0.36.0 // indirect
42-
golang.org/x/net v0.38.0 // indirect
43-
golang.org/x/sys v0.31.0 // indirect
44-
golang.org/x/text v0.23.0 // indirect
43+
golang.org/x/crypto v0.50.0 // indirect
44+
golang.org/x/net v0.53.0 // indirect
45+
golang.org/x/sys v0.43.0 // indirect
46+
golang.org/x/text v0.36.0 // indirect
4547
gopkg.in/warnings.v0 v0.1.2 // indirect
4648
gopkg.in/yaml.v3 v3.0.1 // indirect
4749
)

0 commit comments

Comments
 (0)