Skip to content

Review Dockerfile and RPMs files for odh-data-science-pipelines-operator-controller for Konflux Build #169

Review Dockerfile and RPMs files for odh-data-science-pipelines-operator-controller for Konflux Build

Review Dockerfile and RPMs files for odh-data-science-pipelines-operator-controller for Konflux Build #169

Workflow file for this run

name: Pre-commit
on:
pull_request:
jobs:
precommit:
runs-on: ubuntu-latest
container:
image: quay.io/opendatahub/pre-commit-go-toolchain:v0.5
env:
XDG_CACHE_HOME: /cache
GOCACHE: /cache/go-build
GOMODCACHE: /cache/go-mod
PRE_COMMIT_HOME: /cache/pre-commit
volumes:
- /cache
steps:
- uses: actions/checkout@v3
- name: Activate cache
uses: actions/cache@v2
with:
path: /cache
key: ${{ runner.os }}-cache-${{ hashFiles('**/go.sum', '.pre-commit-config.yaml') }}
- name: Mark source directory as safe
run: git config --global --add safe.directory $GITHUB_WORKSPACE
- name: Run pre-commit checks
run: pre-commit run --all-files