Skip to content

[pull] master from imgproxy:master #685

[pull] master from imgproxy:master

[pull] master from imgproxy:master #685

Workflow file for this run

name: Test
on:
- push
- pull_request
env:
CGO_LDFLAGS_ALLOW: "-s|-w"
jobs:
test:
runs-on: ubuntu-latest
container:
image: darthsim/imgproxy-ci:202407111824
strategy:
matrix:
go-version: ["1.22.x", "1.21.x"]
vips-version: ["8.15", "8.14", "8.13"]
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go-version }}
- name: Download mods
run: go mod download
- name: Test
run: go test ./...
env:
LD_LIBRARY_PATH: "/usr/local/lib:/root/vips/${{ matrix.vips-version }}/lib"
PKG_CONFIG_PATH: "/usr/local/lib/pkgconfig:/root/vips/${{ matrix.vips-version }}/lib/pkgconfig"