Skip to content

Merge pull request #28 from yubing744/owen/show_llm_model-2 #4

Merge pull request #28 from yubing744/owen/show_llm_model-2

Merge pull request #28 from yubing744/owen/show_llm_model-2 #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: '1.22.0'
- name: Cache Go modules
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Install dependencies
run: go mod download
- name: Build
run: make build
- name: Run unit tests
run: make unit-test