Skip to content

πŸ› fix: stop backoff when context is cancelled #1572

πŸ› fix: stop backoff when context is cancelled

πŸ› fix: stop backoff when context is cancelled #1572

Workflow file for this run

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"
build:
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'