Skip to content

Commit 5aacebe

Browse files
authored
Update deps (#29)
1 parent 08d12eb commit 5aacebe

File tree

9 files changed

+42
-206
lines changed

9 files changed

+42
-206
lines changed

.github/workflows/cloc.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ jobs:
2424
- name: Count Lines Of Code
2525
id: loc
2626
run: |
27-
curl -sLO https://github.com/vearutop/sccdiff/releases/download/v1.0.2/linux_amd64.tar.gz && tar xf linux_amd64.tar.gz && echo "b17e76bede22af0206b4918d3b3c4e7357f2a21b57f8de9e7c9dc0eb56b676c0 sccdiff" | shasum -c
27+
curl -sLO https://github.com/vearutop/sccdiff/releases/download/v1.0.3/linux_amd64.tar.gz && tar xf linux_amd64.tar.gz
28+
sccdiff_hash=$(git hash-object ./sccdiff)
29+
[ "$sccdiff_hash" == "ae8a07b687bd3dba60861584efe724351aa7ff63" ] || (echo "::error::unexpected hash for sccdiff, possible tampering: $sccdiff_hash" && exit 1)
2830
OUTPUT=$(cd pr && ../sccdiff -basedir ../base)
2931
echo "${OUTPUT}"
3032
OUTPUT="${OUTPUT//$'\n'/%0A}"

.github/workflows/golangci-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
uses: golangci/golangci-lint-action@v3.1.0
2828
with:
2929
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
30-
version: v1.48.0
30+
version: v1.49.0
3131

3232
# Optional: working directory, useful for monorepos
3333
# working-directory: somedir

.github/workflows/release-assets.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- created
99
env:
1010
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11-
GO_VERSION: 1.18.x
11+
GO_VERSION: 1.19.x
1212
jobs:
1313
build:
1414
name: Upload Release Assets

.github/workflows/test-unit.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
test:
2222
strategy:
2323
matrix:
24-
go-version: [ 1.16.x, 1.17.x, 1.18.x, 1.19.x ]
24+
go-version: [ 1.18.x, 1.19.x ]
2525
runs-on: ubuntu-latest
2626
steps:
2727
- name: Install Go stable

.golangci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ linters:
4848
- ireturn
4949
- exhaustruct
5050
- nonamedreturns
51+
- nosnakecase
52+
- structcheck
53+
- varcheck
54+
- deadcode
5155

5256
issues:
5357
exclude-use-default: false

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#GOLANGCI_LINT_VERSION := "v1.48.0" # Optional configuration to pinpoint golangci-lint version.
1+
#GOLANGCI_LINT_VERSION := "v1.49.0" # Optional configuration to pinpoint golangci-lint version.
22

33
# The head of Makefile determines location of dev-go to include standard targets.
44
GO ?= go

go.mod

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
11
module github.com/vearutop/plt
22

3-
go 1.17
3+
go 1.18
44

55
require (
66
github.com/alecthomas/kingpin v2.2.6+incompatible
7-
github.com/aws/aws-sdk-go v1.44.81
8-
github.com/bool64/dev v0.2.19
7+
github.com/aws/aws-sdk-go v1.44.103
8+
github.com/bool64/dev v0.2.20
99
github.com/gizak/termui/v3 v3.1.0
10-
github.com/lucas-clemente/quic-go v0.28.1
10+
github.com/lucas-clemente/quic-go v0.29.0
1111
github.com/nsf/termbox-go v1.1.1
1212
github.com/stretchr/testify v1.8.0
13-
github.com/valyala/fasthttp v1.39.0
13+
github.com/valyala/fasthttp v1.40.0
1414
github.com/vearutop/dynhist-go v1.0.0
15-
golang.org/x/net v0.0.0-20220812174116-3211cb980234
15+
golang.org/x/net v0.0.0-20220921203646-d300de134e69
1616
golang.org/x/time v0.0.0-20200630173020-3af7569d3a1e
1717
)
1818

1919
require (
2020
github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 // indirect
2121
github.com/alecthomas/units v0.0.0-20210208195552-ff826a37aa15 // indirect
2222
github.com/andybalholm/brotli v1.0.4 // indirect
23-
github.com/cheekybits/genny v1.0.0 // indirect
2423
github.com/davecgh/go-spew v1.1.1 // indirect
2524
github.com/fsnotify/fsnotify v1.5.4 // indirect
2625
github.com/go-task/slim-sprig v0.0.0-20210107165309-348f09dbbbc0 // indirect
26+
github.com/golang/mock v1.6.0 // indirect
27+
github.com/golang/protobuf v1.5.2 // indirect
2728
github.com/jmespath/go-jmespath v0.4.0 // indirect
28-
github.com/klauspost/compress v1.15.9 // indirect
29+
github.com/klauspost/compress v1.15.10 // indirect
2930
github.com/marten-seemann/qpack v0.2.1 // indirect
30-
github.com/marten-seemann/qtls-go1-16 v0.1.5 // indirect
31-
github.com/marten-seemann/qtls-go1-17 v0.1.2 // indirect
3231
github.com/marten-seemann/qtls-go1-18 v0.1.2 // indirect
3332
github.com/marten-seemann/qtls-go1-19 v0.1.0 // indirect
3433
github.com/mattn/go-runewidth v0.0.13 // indirect
@@ -38,9 +37,10 @@ require (
3837
github.com/pmezard/go-difflib v1.0.0 // indirect
3938
github.com/rivo/uniseg v0.2.0 // indirect
4039
github.com/valyala/bytebufferpool v1.0.0 // indirect
41-
golang.org/x/crypto v0.0.0-20220817201139-bc19a97f63c8 // indirect
40+
golang.org/x/crypto v0.0.0-20220919173607-35f4265a4bc0 // indirect
41+
golang.org/x/exp v0.0.0-20220921164117-439092de6870 // indirect
4242
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4 // indirect
43-
golang.org/x/sys v0.0.0-20220818161305-2296e01440c6 // indirect
43+
golang.org/x/sys v0.0.0-20220919091848-fb04ddd9f9c8 // indirect
4444
golang.org/x/text v0.3.7 // indirect
4545
golang.org/x/tools v0.1.12 // indirect
4646
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect

0 commit comments

Comments
 (0)