diff --git a/.github/actions/build-dependencies/action.yaml b/.github/actions/build-dependencies/action.yaml index 933b3df9a278..339e298f603d 100644 --- a/.github/actions/build-dependencies/action.yaml +++ b/.github/actions/build-dependencies/action.yaml @@ -71,7 +71,7 @@ runs: shell: bash - name: Install staticchecker run: | - GOROOT=/usr/local/go GOPATH=$HOME/go go install honnef.co/go/tools/cmd/staticcheck@latest + GOROOT=/usr/local/go GOPATH=$HOME/go go install honnef.co/go/tools/cmd/staticcheck@2023.1.7 sudo cp $HOME/go/bin/staticcheck /usr/bin/ shell: bash - name: Install revive @@ -81,12 +81,12 @@ runs: shell: bash - name: Install goimports-reviser run: | - GOROOT=/usr/local/go GOPATH=$HOME/go go install github.com/incu6us/goimports-reviser/v3@latest + GOROOT=/usr/local/go GOPATH=$HOME/go go install github.com/incu6us/goimports-reviser/v3@v3.6.5 sudo cp $HOME/go/bin/goimports-reviser /usr/bin/ shell: bash - name: Install errcheck run: | - GOROOT=/usr/local/go GOPATH=$HOME/go go install github.com/kisielk/errcheck@latest + GOROOT=/usr/local/go GOPATH=$HOME/go go install github.com/kisielk/errcheck@v1.7.0 sudo cp $HOME/go/bin/errcheck /usr/bin/ shell: bash - name: Install docker diff --git a/builder/Dockerfile.alpine-tracee-make b/builder/Dockerfile.alpine-tracee-make index f3688c43db38..b2854d492ada 100644 --- a/builder/Dockerfile.alpine-tracee-make +++ b/builder/Dockerfile.alpine-tracee-make @@ -77,7 +77,7 @@ RUN apk --no-cache add man-pages man-pages-posix bash-completion vim && \ # install staticcheck RUN GOROOT=/usr/lib/go GOPATH=$HOME/go \ - go install honnef.co/go/tools/cmd/staticcheck@latest && \ + go install honnef.co/go/tools/cmd/staticcheck@2023.1.7 && \ cp $HOME/go/bin/staticcheck /usr/bin/ # install goimports-reviser diff --git a/builder/Dockerfile.ubuntu-tracee-make b/builder/Dockerfile.ubuntu-tracee-make index 974ef85cf99a..4ffa5404b9b6 100644 --- a/builder/Dockerfile.ubuntu-tracee-make +++ b/builder/Dockerfile.ubuntu-tracee-make @@ -83,13 +83,13 @@ RUN export DEBIAN_FRONTEND=noninteractive && \ # install staticcheck RUN GOROOT=/usr/local/go GOPATH=$HOME/go \ - go install honnef.co/go/tools/cmd/staticcheck@latest && \ + go install honnef.co/go/tools/cmd/staticcheck@2023.1.7 && \ cp $HOME/go/bin/staticcheck /usr/bin/ # install goimports-reviser RUN GOROOT=/usr/local/go GOPATH=$HOME/go \ - go install github.com/incu6us/goimports-reviser/v3@latest && \ + go install github.com/incu6us/goimports-reviser/v3@v3.6.5 && \ cp $HOME/go/bin/goimports-reviser /usr/bin/ # install revive @@ -101,7 +101,7 @@ RUN GOROOT=/usr/local/go GOPATH=$HOME/go \ # install errcheck RUN GOROOT=/usr/local/go GOPATH=$HOME/go \ - go install github.com/kisielk/errcheck@latest && \ + go install github.com/kisielk/errcheck@v1.7.0 && \ cp $HOME/go/bin/errcheck /usr/bin/ USER tracee