Skip to content

fix(langchain): fixed target url for langchain module #35

fix(langchain): fixed target url for langchain module

fix(langchain): fixed target url for langchain module #35

Workflow file for this run

name: Go
on:
push:
branches: [ "master" ]
pull_request_target:
types: [ assigned, opened, synchronize ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Download dependencies
run: |
sudo apt-get install pkg-config liblept5 libleptonica-dev tesseract-ocr libtesseract-dev
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Build
run: go build -v .
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version: '1.21'
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@v4
with:
version: v1.54
args: --timeout=30m --config=./.golangci.yml --issues-exit-code=0
tests:
runs-on: ubuntu-latest
needs: [build, golangci]
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: tmp
run: mkdir {indexer,upload}
- name: tests
run: for test_module in $(git ls-files tests); do go test -v -count=1 -race $test_module; done