diff --git a/.github/go/Dockerfile b/.github/go/Dockerfile index 96b0697..e7359c7 100644 --- a/.github/go/Dockerfile +++ b/.github/go/Dockerfile @@ -1 +1 @@ -FROM golang:1.21.3 +FROM golang:1.21.5 diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 6e59129..7a4338b 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -38,7 +38,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.1.1 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/test_and_release.yml b/.github/workflows/test_and_release.yml index 91b1690..e34a463 100644 --- a/.github/workflows/test_and_release.yml +++ b/.github/workflows/test_and_release.yml @@ -5,12 +5,12 @@ jobs: unit-test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3.6.0 + - uses: actions/checkout@v4.1.1 - name: Load Go version id: go-version run: | echo go-version=$(sed 's/^.*://' .github/go/Dockerfile) >> $GITHUB_OUTPUT - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ steps.go-version.outputs.go-version }} - name: Unit tests @@ -19,8 +19,8 @@ jobs: lint: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3.6.0 - - uses: actions/setup-go@v4 + - uses: actions/checkout@v4.1.1 + - uses: actions/setup-go@v5 with: go-version: 1.17 - name: Lint @@ -30,12 +30,12 @@ jobs: spec-test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3.6.0 + - uses: actions/checkout@v4.1.1 - name: Load Go version id: go-version run: | echo go-version=$(sed 's/^.*://' .github/go/Dockerfile) >> $GITHUB_OUTPUT - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ steps.go-version.outputs.go-version }} - name: Build executable @@ -51,7 +51,7 @@ jobs: doc-test: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3.6.0 + - uses: actions/checkout@v4.1.1 - name: Prepare Python env run: | sudo apt install python3 @@ -67,14 +67,14 @@ jobs: runs-on: ubuntu-22.04 needs: [ unit-test, spec-test, doc-test, lint ] steps: - - uses: actions/checkout@v3.6.0 + - uses: actions/checkout@v4.1.1 with: fetch-depth: 0 - name: Load Go version id: go-version run: | echo go-version=$(sed 's/^.*://' .github/go/Dockerfile) >> $GITHUB_OUTPUT - - uses: actions/setup-go@v4 + - uses: actions/setup-go@v5 with: go-version: ${{ steps.go-version.outputs.go-version }} - name: Select custom release notes @@ -92,7 +92,7 @@ jobs: username="${{ secrets.DOCKERHUB_USERNAME }}" password="${{ secrets.DOCKERHUB_PASSWORD }}" echo "$password" | docker login --username "$username" --password-stdin - - uses: goreleaser/goreleaser-action@v4.4.0 + - uses: goreleaser/goreleaser-action@v5.0.0 with: args: release --rm-dist ${{ steps.release-notes.outputs.ARGS }} env: @@ -113,7 +113,7 @@ jobs: matrix: binary: ["kapow_windows_386", "kapow_windows_amd64_v1"] steps: - - uses: actions/checkout@v3.6.0 + - uses: actions/checkout@v4.1.1 - name: Download a single artifact uses: actions/download-artifact@v3 with: diff --git a/docs/Pipfile.lock b/docs/Pipfile.lock index 9e2990c..8c28547 100644 --- a/docs/Pipfile.lock +++ b/docs/Pipfile.lock @@ -332,12 +332,12 @@ }, "urllib3": { "hashes": [ - "sha256:7a7c7003b000adf9e7ca2a377c9688bbc54ed41b985789ed576570342a375cd2", - "sha256:b19e1a85d206b56d7df1d5e683df4a7725252a964e3993648dd0fb5a1c157564" + "sha256:c97dfde1f7bd43a71c8d2a58e369e9b2bf692d1334ea9f9cae55add7d0dd0f84", + "sha256:fdb6d215c776278489906c2f8916e6e7d4f5a9b602ccbcfdf7f016fc8da0596e" ], "index": "pypi", "markers": "python_version >= '3.7'", - "version": "==2.0.6" + "version": "==2.0.7" } }, "develop": {} diff --git a/go.mod b/go.mod index cc42d37..ab2b8ac 100644 --- a/go.mod +++ b/go.mod @@ -5,8 +5,8 @@ go 1.20 require ( github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf github.com/google/uuid v1.5.0 - github.com/gorilla/mux v1.8.0 - github.com/spf13/cobra v1.7.0 + github.com/gorilla/mux v1.8.1 + github.com/spf13/cobra v1.8.0 gopkg.in/h2non/gock.v1 v1.1.2 ) diff --git a/go.sum b/go.sum index bce124f..c04dcef 100644 --- a/go.sum +++ b/go.sum @@ -1,10 +1,10 @@ -github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= +github.com/cpuguy83/go-md2man/v2 v2.0.3/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf h1:7+FW5aGwISbqUtkfmIpZJGRgNFg2ioYPvFaUxdqpDsg= github.com/google/shlex v0.0.0-20181106134648-c34317bd91bf/go.mod h1:RpwtwJQFrIEPstU94h88MWPXP2ektJZ8cZ0YntAmXiE= github.com/google/uuid v1.5.0 h1:1p67kYwdtXjb0gL0BPiP1Av9wiZPo5A8z2cWkTZ+eyU= github.com/google/uuid v1.5.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI= -github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So= +github.com/gorilla/mux v1.8.1 h1:TuBL49tXwgrFYWhqrNgrUNEY92u81SPhu7sTdzQEiWY= +github.com/gorilla/mux v1.8.1/go.mod h1:AKf9I4AEqPTmMytcMc0KkNouC66V3BtZ4qD5fmWSiMQ= github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542 h1:2VTzZjLZBgl62/EtslCrtky5vbi9dd7HrQPQIx6wqiw= github.com/h2non/parth v0.0.0-20190131123155-b4df798d6542/go.mod h1:Ow0tF8D4Kplbc8s8sSb3V2oUCygFHVp8gC3Dn6U4MNI= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= @@ -12,8 +12,8 @@ github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLf github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32 h1:W6apQkHrMkS0Muv8G/TipAy/FJl/rCYT0+EuS8+Z0z4= github.com/nbio/st v0.0.0-20140626010706-e9e8d9816f32/go.mod h1:9wM+0iRr9ahx58uYLpLIr5fm8diHn0JbqRycJi6w0Ms= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/spf13/cobra v1.7.0 h1:hyqWnYt1ZQShIddO5kBpj3vu05/++x6tJ6dg8EC572I= -github.com/spf13/cobra v1.7.0/go.mod h1:uLxZILRyS/50WlhOIKD7W6V5bgeIt+4sICxh6uRMrb0= +github.com/spf13/cobra v1.8.0 h1:7aJaZx1B85qltLMc546zn58BxxfZdR/W22ej9CFoEf0= +github.com/spf13/cobra v1.8.0/go.mod h1:WXLWApfZ71AjXPya3WOlMsY9yMs7YeiHhFVlvLyhcho= github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA= github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/testutils/poc/requirements.txt b/testutils/poc/requirements.txt index d239ba4..23f65ed 100644 --- a/testutils/poc/requirements.txt +++ b/testutils/poc/requirements.txt @@ -1,3 +1,3 @@ -aiohttp==3.8.5 +aiohttp==3.9.0 requests==2.31.0 click==7.0