Skip to content

build(deps): bump rfc3161-client from 1.0.5 to 1.0.6 in /jobs/async-u… #2029

build(deps): bump rfc3161-client from 1.0.5 to 1.0.6 in /jobs/async-u…

build(deps): bump rfc3161-client from 1.0.5 to 1.0.6 in /jobs/async-u… #2029

name: Test Controller
on:
push:
branches:
- "main"
paths-ignore:
- "LICENSE*"
- "**.gitignore"
- "**.md"
- "**.txt"
- ".github/ISSUE_TEMPLATE/**"
- ".github/dependabot.yml"
- "docs/**"
pull_request:
paths:
- "cmd/controller/**"
- ".github/workflows/**"
- "pkg/inferenceservice-controller/**"
- "internal/server/openapi/api_model_registry_service*"
- "pkg/openapi/**"
- "cmd/controller/go.mod"
- "pkg/inferenceservice-controller/go.mod"
permissions: # set contents: read at top-level, per OpenSSF ScoreCard rule TokenPermissionsID
contents: read
env:
BRANCH: ${{ github.base_ref }}
jobs:
test:
name: Run on Ubuntu
runs-on: ubuntu-latest
steps:
- name: Generate tag
shell: bash
id: tags
run: |
commit_sha=${{ github.event.after }}
tag="${BRANCH:-main}"-${commit_sha:0:7}
echo "tag=${tag}" >> $GITHUB_OUTPUT
- name: Clone the code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6
with:
go-version: "1.25.7"
- name: Running Tests
run: |
(cd cmd/controller && go mod tidy)
(cd pkg/inferenceservice-controller && go mod tidy)
make controller/test
- name: Build controller
shell: bash
env:
IMG_REPO: model-registry/controller
IMG_VERSION: ${{ steps.tags.outputs.tag }}
run: make image/build