Skip to content

Fix build

Fix build #557

Workflow file for this run

name: build
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.21
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Install linux deps
run: |
sudo apt-get update
sudo apt-get -y install libvips-dev
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./vips
- name: Test
run: go test -v -coverprofile=profile.cov ./...
- name: Coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: profile.cov