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