Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Golang in all Project #3806

Merged
merged 2 commits into from Jan 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/build-dependencies/action.yaml
Expand Up @@ -15,7 +15,7 @@ runs:
run: |
sudo rm -f /usr/bin/go
sudo rm -f /usr/bin/gofmt
curl -L -o /tmp/golang.tar.gz https://go.dev/dl/go1.20.8.linux-amd64.tar.gz
curl -L -o /tmp/golang.tar.gz https://go.dev/dl/go1.21.6.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf /tmp/golang.tar.gz
sudo ln -s /usr/local/go/bin/go /usr/bin/go
sudo ln -s /usr/local/go/bin/gofmt /usr/bin/gofmt
Expand Down
17 changes: 9 additions & 8 deletions .github/workflows/pr.yaml
Expand Up @@ -115,7 +115,6 @@ jobs:
echo " 2. Run 'make -f builder/Makefile.man man-run' to update '.1' files."
exit 1
fi

#
# CODE VERIFICATION
#
Expand Down Expand Up @@ -264,9 +263,9 @@ jobs:
#
generate-matrix:
name: Generate Test Matrix
needs:
- verify-signatures
- verify-tools
#needs:
# - verify-signatures
# - verify-tools
runs-on: ubuntu-latest
outputs:
matrix01: ${{ steps.set-matrix.outputs.matrix01 }}
Expand Down Expand Up @@ -329,15 +328,17 @@ jobs:
matrix:
include: ${{fromJson(needs.generate-matrix.outputs.matrix01)}}
env:
HOME: "/tmp/root"
GOPATH: "/tmp/go"
GOCACHE: "/tmp/go-cache"
GOROOT: "/usr/local/go"
HOME: "/tmp/root"
GOPATH: "/tmp/go"
GOCACHE: "/tmp/go-cache"
GOROOT: "/usr/local/go"
steps:
- name: "Checkout"
uses: actions/checkout@v3
with:
submodules: true
- name: "Prepare Image (Fix AMIs)"
run: ./tests/e2e-install-deps.sh
- name: "Environment Variables"
run: |
if [[ "${{ matrix.arch }}" == "aarch64" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Expand Up @@ -70,7 +70,7 @@ Vagrant.configure("2") do |config|

config.vm.provision "shell", privileged: true, inline: <<-SHELL
VAGRANT_HOME="/home/vagrant"
GO_VERSION="1.19.5"
GO_VERSION="1.21.6"
OPA_VERSION="v0.48.0"

# silence 'dpkg-preconfigure: unable to re-open stdin: No such file or directory'
Expand Down
2 changes: 1 addition & 1 deletion api/go.mod
@@ -1,6 +1,6 @@
module github.com/aquasecurity/tracee/api

go 1.19
go 1.21

require (
github.com/golang/protobuf v1.5.3
Expand Down
16 changes: 8 additions & 8 deletions api/v1beta1/datasource.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

96 changes: 48 additions & 48 deletions api/v1beta1/event.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.