Skip to content

Commit

Permalink
Upgrade to golang 1.18.1 (open-telemetry#1464)
Browse files Browse the repository at this point in the history
* Upgrade to golang 1.18.1

* Update changelog
  • Loading branch information
jeffreyc-splunk authored Apr 20, 2022
1 parent c5d9954 commit 92564d6
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
PIP_VERSION: 20.2.4
REQUIREMENTS_PATH: "internal/buildscripts/packaging/tests/requirements.txt"
RESULT_PATH: "~/testresults"
GO_VERSION: 1.18
GO_VERSION: 1.18.1

jobs:
setup-environment:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deps-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.18.1
- name: Setup Go Environment
run: |
echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.18.1
- id: module-cache
uses: actions/cache@v3
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
go-version: 1.18.1

- name: Install golang dependency
run: |
Expand Down
8 changes: 4 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ whitesource:
- schedules
# allow_failure: false
cache:
key: "whitesource-go1.18"
key: "whitesource-go1.18.1"
paths:
- /usr/local/go
- /go/pkg/mod
Expand All @@ -58,8 +58,8 @@ whitesource:
set -e
if [ ! -d /usr/local/go ]; then
pushd /usr/local
wget https://golang.org/dl/go1.18.linux-amd64.tar.gz
tar xzf go1.18.linux-amd64.tar.gz
wget https://golang.org/dl/go1.18.1.linux-amd64.tar.gz
tar xzf go1.18.1.linux-amd64.tar.gz
popd
fi
- export GOROOT=/usr/local/go
Expand Down Expand Up @@ -91,7 +91,7 @@ whitesource:
fi
.go-cache:
image: '${DOCKER_HUB_REPO}/golang:1.18'
image: '${DOCKER_HUB_REPO}/golang:1.18.1'
variables:
GOPATH: "$CI_PROJECT_DIR/.go"
before_script:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

### 💡 Enhancements 💡

- Upgrade to Go 1.18.1 (#1464)

## v0.48.0

This Splunk OpenTelemetry Collector release includes changes from the [opentelemetry-collector v0.48.0](https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.48.0) and the [opentelemetry-collector-contrib v0.48.0](https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.48.0) releases.
Expand Down
2 changes: 1 addition & 1 deletion examples/prometheus-federation/prom-counter/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.0-stretch
FROM golang:1.18.1-stretch

WORKDIR /go/src/app

Expand Down
2 changes: 1 addition & 1 deletion examples/splunk-hec-traces/tracing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18-stretch
FROM golang:1.18.1-stretch

WORKDIR /go/src/app

Expand Down
2 changes: 1 addition & 1 deletion examples/splunk-hec/logging/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.18.0-stretch
FROM golang:1.18.1-stretch

WORKDIR /go/src/app

Expand Down

0 comments on commit 92564d6

Please sign in to comment.