Skip to content

chore(deps): update golang:1.24 docker digest to 764d7e0 #71993

chore(deps): update golang:1.24 docker digest to 764d7e0

chore(deps): update golang:1.24 docker digest to 764d7e0 #71993

name: "Project: Tidy"
on:
pull_request_target:
types: [opened, ready_for_review, synchronize, reopened, labeled, unlabeled]
branches:
- main
env:
# Make sure to exit early if cache segment download times out after 2 minutes.
# We limit cache download as a whole to 5 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
jobs:
setup-environment:
timeout-minutes: 30
runs-on: ubuntu-24.04
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependency-major-update') && (github.actor == 'renovate[bot]' || contains(github.event.pull_request.labels.*.name, 'renovatebot')) }}
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
ref: ${{ github.head_ref }}
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
with:
go-version: 1.23.10
cache: false
- name: Cache Go
id: go-cache
timeout-minutes: 5
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4
with:
path: |
~/go/bin
~/go/pkg/mod
key: go-cache-${{ runner.os }}-${{ hashFiles('**/go.sum') }}
- name: Install dependencies
if: steps.go-cache.outputs.cache-hit != 'true'
run: make -j2 gomoddownload
- name: Install Tools
if: steps.go-cache.outputs.cache-hit != 'true'
run: make install-tools
- name: go mod tidy, make genotelcontribcol and make genoteltestbedcol
run: |
make gotidy && make genotelcontribcol && make genoteltestbedcol
git config user.name opentelemetrybot
git config user.email [email protected]
echo "git diff --exit-code || (git add . && git commit -m \"go mod tidy, make genotelcontribcol and make genoteltestbedcol\" && git push)"
git diff --exit-code || (git add . && git commit -m "go mod tidy, make genotelcontribcol and make genoteltestbedcol" && git push)
env:
GITHUB_TOKEN: ${{ secrets.OPENTELEMETRYBOT_GITHUB_TOKEN }}
- uses: actions-ecosystem/action-remove-labels@2ce5d41b4b6aa8503e285553f75ed56e0a40bae0 # v1
with:
labels: renovatebot