Skip to content

Restore pkg/errors to go.mod and go.sum — also used by pdfcpu #19

Restore pkg/errors to go.mod and go.sum — also used by pdfcpu

Restore pkg/errors to go.mod and go.sum — also used by pdfcpu #19

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version-file: go.mod
cache: true
- name: Build
run: CGO_ENABLED=0 go build ./...
- name: Vet
run: go vet ./...
- name: Test
run: CGO_ENABLED=0 go test -timeout 120s ./...