From 553b2d2ca5943bbada94c3ab940a0f1d481e20e5 Mon Sep 17 00:00:00 2001 From: Yad Smood Date: Fri, 31 May 2024 18:56:29 +0800 Subject: [PATCH] update deps --- .github/workflows/check-examples.yml | 4 ++-- .github/workflows/check-issues.yml | 6 +++--- .github/workflows/check-revision.yml | 4 ++-- .github/workflows/docker.yml | 8 ++++---- .github/workflows/test-linux.yml | 6 +++--- .github/workflows/test-other-platforms.yml | 12 ++++++------ .golangci.yml | 5 ++++- go.mod | 4 +++- go.sum | 4 ++++ 9 files changed, 31 insertions(+), 22 deletions(-) diff --git a/.github/workflows/check-examples.yml b/.github/workflows/check-examples.yml index d1851adb..cbb8a363 100644 --- a/.github/workflows/check-examples.yml +++ b/.github/workflows/check-examples.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | go run ./lib/utils/get-browser diff --git a/.github/workflows/check-issues.yml b/.github/workflows/check-issues.yml index 4c0f6f24..e14e6bda 100644 --- a/.github/workflows/check-issues.yml +++ b/.github/workflows/check-issues.yml @@ -12,15 +12,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 16 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: check env: diff --git a/.github/workflows/check-revision.yml b/.github/workflows/check-revision.yml index 4416c1de..7a0b2428 100644 --- a/.github/workflows/check-revision.yml +++ b/.github/workflows/check-revision.yml @@ -9,11 +9,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: | go run ./lib/launcher/revision diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 53298bbf..7e06fab3 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -16,13 +16,13 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - uses: docker/setup-qemu-action@v2 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go run ./lib/docker $GITHUB_REF env: @@ -43,13 +43,13 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - uses: docker/setup-qemu-action@v2 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go run ./lib/docker $GITHUB_REF env: diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index ffe53a1b..48a8c947 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -15,15 +15,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: 16 - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go generate diff --git a/.github/workflows/test-other-platforms.yml b/.github/workflows/test-other-platforms.yml index 2731a66b..d88a3682 100644 --- a/.github/workflows/test-other-platforms.yml +++ b/.github/workflows/test-other-platforms.yml @@ -12,11 +12,11 @@ jobs: runs-on: macos-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go run ./lib/utils/ci-test -timeout-each=2m @@ -30,11 +30,11 @@ jobs: runs-on: windows-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.21 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: go run ./lib/utils/ci-test -timeout-each=2m @@ -48,11 +48,11 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: 1.13 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # As long as the build works we don't have to run tests. - run: go build ./lib/examples/translator diff --git a/.golangci.yml b/.golangci.yml index 7160d29a..9cd2eb83 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -14,7 +14,8 @@ linters: - nlreturn - nakedret - gomnd - - goerr113 + - mnd + - err113 - exhaustruct - godox - depguard @@ -25,8 +26,10 @@ linters: - perfsprint - ireturn - contextcheck + - canonicalheader # Deprecated ones: + - execinquery - structcheck - interfacer - deadcode diff --git a/go.mod b/go.mod index 1ac8304f..8e0ab0a2 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,10 @@ go 1.16 require ( github.com/ysmood/fetchup v0.2.3 github.com/ysmood/goob v0.4.0 - github.com/ysmood/got v0.34.1 + github.com/ysmood/got v0.39.5 github.com/ysmood/gotrace v0.6.0 github.com/ysmood/gson v0.7.3 github.com/ysmood/leakless v0.8.0 ) + +require github.com/ysmood/gop v0.2.0 // indirect diff --git a/go.sum b/go.sum index 4144e469..f5371d34 100644 --- a/go.sum +++ b/go.sum @@ -4,8 +4,12 @@ github.com/ysmood/goob v0.4.0 h1:HsxXhyLBeGzWXnqVKtmT9qM7EuVs/XOgkX7T6r1o1AQ= github.com/ysmood/goob v0.4.0/go.mod h1:u6yx7ZhS4Exf2MwciFr6nIM8knHQIE22lFpWHnfql18= github.com/ysmood/gop v0.0.2 h1:VuWweTmXK+zedLqYufJdh3PlxDNBOfFHjIZlPT2T5nw= github.com/ysmood/gop v0.0.2/go.mod h1:rr5z2z27oGEbyB787hpEcx4ab8cCiPnKxn0SUHt6xzk= +github.com/ysmood/gop v0.2.0 h1:+tFrG0TWPxT6p9ZaZs+VY+opCvHU8/3Fk6BaNv6kqKg= +github.com/ysmood/gop v0.2.0/go.mod h1:rr5z2z27oGEbyB787hpEcx4ab8cCiPnKxn0SUHt6xzk= github.com/ysmood/got v0.34.1 h1:IrV2uWLs45VXNvZqhJ6g2nIhY+pgIG1CUoOcqfXFl1s= github.com/ysmood/got v0.34.1/go.mod h1:yddyjq/PmAf08RMLSwDjPyCvHvYed+WjHnQxpH851LM= +github.com/ysmood/got v0.39.5 h1:RnwtdeON7UQMsXA/6US9VslYOmlD3uy4GykWxAlgsMs= +github.com/ysmood/got v0.39.5/go.mod h1:W7DdpuX6skL3NszLmAsC5hT7JAhuLZhByVzHTq874Qg= github.com/ysmood/gotrace v0.6.0 h1:SyI1d4jclswLhg7SWTL6os3L1WOKeNn/ZtzVQF8QmdY= github.com/ysmood/gotrace v0.6.0/go.mod h1:TzhIG7nHDry5//eYZDYcTzuJLYQIkykJzCRIo4/dzQM= github.com/ysmood/gson v0.7.3 h1:QFkWbTH8MxyUTKPkVWAENJhxqdBa4lYTQWqZCiLG6kE=