Skip to content

chore: localai v3.5.4 #1582

chore: localai v3.5.4

chore: localai v3.5.4 #1582

Workflow file for this run

name: unit-test
on:
push:
paths-ignore:
- '**.md'
- 'website/**'
pull_request:
paths-ignore:
- '**.md'
- 'website/**'
permissions: read-all
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest-16-cores
steps:
- name: Harden Runner
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
disable-sudo: true
egress-policy: audit
allowed-endpoints: >
api.github.com:443
github.com:443
*.githubusercontent.com:443
proxy.golang.org:443
storage.googleapis.com:443
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
with:
go-version: "1.24"
check-latest: true
- name: go mod tidy
run: |
go mod tidy
git diff --exit-code
- name: test
run: make test