Adapt HPA values and scaling base #1401
Workflow file for this run
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
# Jobs defined in this file are responsible for things that do not require container image | |
# but still relevant to the codebase such as unit tests, linting etc | |
name: Pull Request | |
on: | |
pull_request: | |
types: [ synchronize, opened, reopened, ready_for_review ] | |
paths-ignore: | |
- 'docs/**' | |
- '**/*.md' | |
- 'tests/performance/**' | |
- 'OWNERS' | |
- 'CODEOWNERS' | |
- 'sec-scanners-config.yaml' | |
- './github/dependabot.yml' | |
- ".**" | |
branches: | |
- main | |
- 'release-**' | |
permissions: | |
contents: read | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
cache: false # We need to disable caching here, since this is handled by the golangci-lint action | |
- name: golangci-lint | |
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804 #v4.0.0 | |
with: | |
version: 'latest' | |
args: --timeout=10m --verbose | |
run-unit-tests: | |
name: Run unit tests | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Run tests | |
run: | | |
PULL_PULL_SHA=${{ github.event.pull_request.head.sha}} \ | |
PULL_BASE_SHA=${{ github.event.pull_request.base.sha}} \ | |
PULL_NUMBER=${{ github.event.number }} \ | |
./tests/integration/scripts/code-coverage-guard.sh | |
run-unit-tests-experimental: | |
name: Run unit tests with experimental build tag | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: "go.mod" | |
- name: Run tests | |
run: make test-experimental-tag |