diff --git a/.github/workflows/dev_builds.yml b/.github/workflows/dev_builds.yml index d68817e4..c50ea789 100644 --- a/.github/workflows/dev_builds.yml +++ b/.github/workflows/dev_builds.yml @@ -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 @@ -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 diff --git a/.github/workflows/pull_requests.yml b/.github/workflows/pull_requests.yml index 702d2f47..373d3ce2 100644 --- a/.github/workflows/pull_requests.yml +++ b/.github/workflows/pull_requests.yml @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/.github/workflows/release_builds.yml b/.github/workflows/release_builds.yml index fd686a6c..b0c246cd 100644 --- a/.github/workflows/release_builds.yml +++ b/.github/workflows/release_builds.yml @@ -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 diff --git a/operator/go.mod b/operator/go.mod index a948db98..fdeab653 100644 --- a/operator/go.mod +++ b/operator/go.mod @@ -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