Bump google.golang.org/protobuf from 1.34.2 to 1.36.5 #1579
This file contains 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
name: Build | |
on: | |
pull_request: | |
branches: | |
- OSC-MIGRATION | |
- master | |
paths: | |
- "**.go" | |
- "Dockerfile" | |
- ".trivyignore" | |
- "Makefile" | |
- "go.*" | |
- ".github/workflows/build.yml" | |
- "!tests/**" | |
workflow_dispatch: | |
jobs: | |
lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Docker lint | |
run: bash -c "make dockerlint" | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: v1.63 | |
args: --timeout=300s | |
only-new-issues: true | |
unit-test: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
- name: Test | |
run: bash -c "make test" | |
docs: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check docs | |
run: bash -c "make check-helm-docs" | |
trivy: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Image | |
run: bash -c "make build-image" | |
- name: Trivy-Scan | |
run: bash -c "make trivy-scan" | |
- name: Trivy-Ignore-Check | |
run: bash -c "make trivy-ignore-check" | |
- name: Upload Scan if errors | |
if: ${{ always() && github.event_name != 'pull_request' }} | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: './.trivyscan/report.sarif' |