From 87e7b9119f7ece7ef6e944098b6afd7ab308918c Mon Sep 17 00:00:00 2001 From: Gabe Farrell Date: Wed, 18 Jun 2025 08:45:35 -0400 Subject: [PATCH] fix: fix pr test workflow --- .github/workflows/test.yml | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1859291..f37ea6a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,16 +7,26 @@ on: jobs: test: + name: Go Test runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v4 + - uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + go-version-file: go.mod + + - name: Install libvips + run: | + sudo apt-get update + sudo apt-get install -y libvips-dev + + - name: Verify libvips install + run: vips --version - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: '1.24' + - name: Build + run: go build -v ./... - - name: Run tests - run: go test ./... + - name: Test + uses: robherley/go-test-action@v0