Skip to content

Commit

Permalink
deps(operator): bump go to 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
swiatekm committed Jun 4, 2024
1 parent 7d9be8f commit 91fe048
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/dev_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
cache-dependency-path: |
sidecar/otelcol/.otelcol-builder.yaml
sidecar/otelcol/.goreleaser.yaml
Expand Down Expand Up @@ -135,7 +135,8 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.22'
cache-dependency-path: operator/go.sum
- name: Extract tag
id: extract_tag
run: echo "tag=$(echo $(git describe --tags --always))" >> $GITHUB_OUTPUT
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.22'
cache-dependency-path: operator/go.sum
- name: Run tests for tailing sidecar operator
working-directory: ./operator
run: make test
Expand All @@ -56,7 +57,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
cache-dependency-path: |
sidecar/otelcol/.otelcol-builder.yaml
sidecar/otelcol/.goreleaser.yaml
Expand All @@ -82,7 +83,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
cache-dependency-path: |
.otelcol-builder.yaml
.goreleaser.yaml
Expand Down Expand Up @@ -113,7 +114,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
cache-dependency-path: |
.otelcol-builder.yaml
.goreleaser.yaml
Expand Down Expand Up @@ -144,7 +145,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
cache-dependency-path: |
sidecar/otelcol/.otelcol-builder.yaml
sidecar/otelcol/.goreleaser.yaml
Expand Down Expand Up @@ -175,7 +176,7 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.21'
go-version: '1.22'
cache-dependency-path: |
sidecar/otelcol/.otelcol-builder.yaml
sidecar/otelcol/.goreleaser.yaml
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release_builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ jobs:
- name: Setup go
uses: actions/setup-go@v5
with:
go-version: '1.20'
go-version: '1.22'
cache-dependency-path: operator/go.sum
- name: Extract tag
id: extract_tag
run: echo "tag=$(echo ${GITHUB_REF#refs/tags/v})" >> $GITHUB_OUTPUT
Expand Down
2 changes: 1 addition & 1 deletion operator/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/SumoLogic/tailing-sidecar/operator

go 1.21
go 1.22

require (
github.com/go-logr/logr v1.4.2
Expand Down

0 comments on commit 91fe048

Please sign in to comment.