Skip to content

first commit

first commit #3

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Install Tesseract OCR dev libraries
run: |
sudo apt-get update
sudo apt-get install -y libtesseract-dev libleptonica-dev tesseract-ocr
- name: Build
run: |
CGO_ENABLED=1 go build -trimpath -v ./...
- name: Vet
run: go vet ./...
- name: Test
run: go test -v -timeout 180s ./tests/ 2>&1