Bump go.uber.org/zap from 1.27.1 to 1.28.0 (#1123) #187
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-License-Identifier: Apache-2.0 | |
| # Copyright 2023 Canonical Ltd. | |
| # Copyright 2024 Intel Corporation | |
| name: CI Pipeline | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| if: github.event_name == 'pull_request' | |
| permissions: | |
| contents: read | |
| actions: read | |
| security-events: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/docker-build.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| run_pre_build: true | |
| docker_targets: "bess pfcp" | |
| build-ptf: | |
| if: github.event_name == 'pull_request' | |
| permissions: | |
| contents: read | |
| actions: read | |
| security-events: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/docker-build.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| build_directory: "./ptf" | |
| build_command: "make build" | |
| lint: | |
| permissions: | |
| contents: read | |
| checks: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/lint.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| hadolint: | |
| permissions: | |
| contents: read | |
| security-events: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/hadolint.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| check-spelling: | |
| permissions: | |
| contents: read | |
| checks: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/check-spelling.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| route-control-tests: | |
| permissions: | |
| contents: read | |
| checks: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/upf-route-control-tests.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| unit-tests-pfcp: | |
| permissions: | |
| contents: read | |
| checks: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/unit-test.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| test_flags: "-race -failfast -v" | |
| test_directory: "./pfcpiface ./cmd/..." | |
| integration-tests-bess: | |
| permissions: | |
| contents: read | |
| checks: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/unit-test.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| test_flags: "-race -failfast -v -count=1" | |
| test_directory: "./test/integration/..." | |
| env_vars: "MODE=native DATAPATH=bess" | |
| license-check: | |
| permissions: | |
| contents: read | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/license-check.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| fossa-scan: | |
| permissions: | |
| contents: read | |
| security-events: write | |
| id-token: write | |
| attestations: write | |
| uses: omec-project/.github/.github/workflows/fossa-scan.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} | |
| analysis: | |
| if: github.repository_owner == 'omec-project' | |
| permissions: | |
| actions: read | |
| artifact-metadata: read | |
| attestations: read | |
| checks: read | |
| contents: read | |
| deployments: read | |
| discussions: read | |
| id-token: write | |
| issues: read | |
| models: read | |
| packages: read | |
| pages: read | |
| pull-requests: read | |
| repository-projects: read | |
| security-events: write | |
| statuses: read | |
| vulnerability-alerts: read | |
| uses: omec-project/.github/.github/workflows/scorecard-analysis.yml@0bce626c84023cadf638ceff2af19c73a7201bf8 # v0.0.26 | |
| with: | |
| branch_name: ${{ github.ref }} |