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

Support for golang 1.21.3 #356

Merged
merged 1 commit into from
Nov 3, 2023
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build_and_test_main_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main

env:
GOLANG_VERSION: 1.19.2
GOLANG_VERSION: 1.21.3
OSQUERY_VERSION: 5.8.2

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/create_tagged_releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
tags: [ 'v*.*.*' ]

env:
GOLANG_VERSION: 1.19.2
GOLANG_VERSION: 1.21.3
OSQUERY_VERSION: 5.8.2

jobs:
Expand Down
6 changes: 3 additions & 3 deletions deploy/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -422,9 +422,9 @@ function set_motd_centos() {
echo "$__centosmotd" | sudo tee -a /etc/profile
}

# Install go 1.18 from tgz
function install_go_18() {
local __version="1.18"
# Install go 1.20 from tgz
function install_go_21() {
local __version="1.21.3"
local __file="go$__version.linux-amd64.tar.gz"
local __url="https://dl.google.com/go/$__file"
if ! [[ -d "/usr/local/go" ]]; then
Expand Down
2 changes: 1 addition & 1 deletion deploy/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ package rsync
# Golang
# package golang-go
if ! [ -x "$(command -v go)" ]; then
install_go_18
install_go_21
fi

# Upgrade service
Expand Down
Loading