Skip to content

🐛 Avoid caching all ConfigMaps in the cluster #1271

🐛 Avoid caching all ConfigMaps in the cluster

🐛 Avoid caching all ConfigMaps in the cluster #1271

Workflow file for this run

name: Building and testing
on:
pull_request:
types: [opened, edited, reopened, synchronize, ready_for_review]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: Run unit tests
run: make test
container:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Update repositories
run: sudo apt update
- name: Install podman
run: sudo apt install -y podman
- name: Build the image
run: podman build .
manifests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
- name: Calculate go version
id: vars
run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: ${{ steps.vars.outputs.go_version }}
- name: Generate manifests
run: make generate manifests
- name: Ensure there is no diff
run: git diff --exit-code