Skip to content

chore: refactor to move ragengine to a central package #86

chore: refactor to move ragengine to a central package

chore: refactor to move ragengine to a central package #86

name: unit-tests-ragengine
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
branches: [main]
paths-ignore: ["docs/**", "**.md", "**.mdx", "**.png", "**.jpg"]
pull_request:
branches: [main, release-**]
paths-ignore: ["docs/**", "**.md", "**.mdx", "**.png", "**.jpg"]
permissions:
contents: read
packages: write
env:
GO_VERSION: "1.22"
jobs:
unit-tests:
runs-on: ubuntu-latest
environment: unit-tests
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- name: Check out the code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
fetch-depth: 0
- name: Run unit tests
run: |
make rag-service-test