Update Konflux references (release-2.11) #2379
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: lint & check bundle | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- "*" | |
pull_request: | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: Formatters + Linters (Static Analysis) for Go | |
env: | |
GOBIN: /tmp/.bin | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.21.x | |
cache-dependency-path: "**/*.sum" | |
- name: Linting, Formatting & vetting | |
run: make lint | |
- name: Make bundle | |
run: make bundle | |
# We exclude the dockerfile as we have manually modified that to use a different user | |
- name: check diff | |
run: git diff --exit-code -- . ':(exclude)operators/multiclusterobservability/bundle.Dockerfile' |