Skip to content

Update registry.access.redhat.com/ubi8/go-toolset:1.22 Docker digest to 076c858 (rhoai-2.16) #362

Update registry.access.redhat.com/ubi8/go-toolset:1.22 Docker digest to 076c858 (rhoai-2.16)

Update registry.access.redhat.com/ubi8/go-toolset:1.22 Docker digest to 076c858 (rhoai-2.16) #362

Workflow file for this run

name: Pre-commit
on:
push:
branches:
- '**'
tags-ignore:
- 'v*'
pull_request:
workflow_dispatch:
jobs:
precommit:
runs-on: ubuntu-latest
container:
image: quay.io/opendatahub/pre-commit-go-toolchain:v0.2 # https://github.com/opendatahub-io/data-science-pipelines-operator/blob/main/.github
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@v4
- name: Set Go
uses: actions/setup-go@v5
with:
go-version-file: './go.mod'
- name: Activate cache
uses: actions/cache@v4
with:
path: /cache
key: ${{ runner.os }}-cache-${{ hashFiles('**/go.sum', '.pre-commit-config.yaml') }}
- name: Run pre-commit checks
run: pre-commit run --all-files