[gomod] bump the dependencies group across 1 directory with 11 updates #1195
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: (C) 2026 Intel Corporation | |
| # SPDX-License-Identifier: Apache-2.0 | |
| --- | |
| name: Pre-Merge CI Pipeline | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - release-* | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| persist-credentials: false | |
| - name: "Setup" | |
| uses: open-edge-platform/orch-ci/.github/actions/bootstrap@0483721aac3dbbc2d1a8b52ba5f1db81559d7dbb # 2026.0.17 | |
| with: | |
| gh_token: ${{ secrets.SYS_EMF_GH_TOKEN }} | |
| bootstrap_tools: "go,gotools,nodejs" | |
| - name: Configure cache locations | |
| run: | | |
| echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV | |
| echo "GOMODCACHE=$(go env GOMODCACHE)" >> $GITHUB_ENV | |
| - name: Cache build artifact | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: | | |
| ${{ env.GOCACHE }} | |
| ${{ env.GOMODCACHE }} | |
| ~/.cache/golangci-lint | |
| key: ${{ github.repository }}-lint-${{ runner.os }}-go-${{ hashFiles('**/go.mod') }} | |
| - name: Lint code | |
| run: make lint | |
| build: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| persist-credentials: false | |
| - name: "Setup" | |
| uses: open-edge-platform/orch-ci/.github/actions/bootstrap@0483721aac3dbbc2d1a8b52ba5f1db81559d7dbb # 2026.0.17 | |
| with: | |
| gh_token: ${{ secrets.SYS_EMF_GH_TOKEN }} | |
| bootstrap_tools: "go,gotools" | |
| - name: Configure cache locations | |
| run: | | |
| echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV | |
| echo "GOMODCACHE=$(go env GOMODCACHE)" >> $GITHUB_ENV | |
| - name: Cache build artifact | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: | | |
| ${{ env.GOCACHE }} | |
| ${{ env.GOMODCACHE }} | |
| key: ${{ github.repository }}-build-${{ runner.os }}-go-${{ hashFiles('**/go.mod') }} | |
| - name: Build code | |
| run: make build | |
| test: | |
| permissions: | |
| contents: read | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout PR | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| ref: ${{ github.head_ref }} | |
| persist-credentials: false | |
| - name: "Setup" | |
| uses: open-edge-platform/orch-ci/.github/actions/bootstrap@0483721aac3dbbc2d1a8b52ba5f1db81559d7dbb # 2026.0.17 | |
| with: | |
| gh_token: ${{ secrets.SYS_EMF_GH_TOKEN }} | |
| bootstrap_tools: "go,gotools" | |
| - name: Configure cache locations | |
| run: | | |
| echo "GOCACHE=$(go env GOCACHE)" >> $GITHUB_ENV | |
| echo "GOMODCACHE=$(go env GOMODCACHE)" >> $GITHUB_ENV | |
| - name: Cache build artifact | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: | | |
| ${{ env.GOCACHE }} | |
| ${{ env.GOMODCACHE }} | |
| key: ${{ github.repository }}-test-${{ runner.os }}-go-${{ hashFiles('**/go.mod') }} | |
| - name: Test code | |
| run: make test | |
| pre-merge: | |
| permissions: | |
| contents: read | |
| needs: [lint, build, test] | |
| uses: open-edge-platform/orch-ci/.github/workflows/pre-merge.yml@7fa3392a16f796e30f62e29679166f82ebd6802d # 2026.0.17 | |
| with: | |
| bootstrap_tools: "base,go" | |
| cache_go: true | |
| remove_cache_go: true | |
| run_security_scans: true | |
| run_version_check: true | |
| run_dep_version_check: true | |
| run_build: false | |
| run_lint: false | |
| run_test: false | |
| run_validate_clean_folder: false | |
| run_docker_build: true | |
| run_docker_push: false | |
| run_helm_build: true | |
| run_helm_push: false | |
| version_suffix: "-pr-${{ github.event.number }}" | |
| trivy_image_skip: "envoyproxy/envoy:v1.36.2" | |
| secrets: inherit # zizmor: ignore[secrets-inherit] |