Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
Issue: CW-608
  • Loading branch information
diegobernardes committed Jun 6, 2024
1 parent 9cb3e7a commit 7b68f5e
Show file tree
Hide file tree
Showing 8 changed files with 103 additions and 120 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Setup Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: 1.19
go-version: 1.22.4

- name: Go cache
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.cache/go-build
Expand All @@ -39,8 +39,8 @@ jobs:
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: |
go install github.com/mfridman/tparse@v0.8.3
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.42.1
go install github.com/mfridman/tparse@v0.13.3
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.59.0
- name: Dependency linter
if: matrix.os == 'ubuntu-latest'
Expand All @@ -54,7 +54,7 @@ jobs:

- name: Test
run: |
go test -race -cover -covermode=atomic -json | tparse -all -dump -smallscreen
go test -race -cover -covermode=atomic -json | tparse -all -smallscreen
go test -race -bench .
- name: Go golangci-lint
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/jemalloc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Export jemalloc Version
id: jemalloc-version
Expand All @@ -38,10 +38,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout Jemalloc code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: jemalloc/jemalloc
ref: ${{needs.version.outputs.version}}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/mupdf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Export MuPDF Version
id: mupdf-version
Expand All @@ -38,10 +38,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout MuPDF code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ArtifexSoftware/mupdf
ref: ${{needs.version.outputs.version}}
Expand Down Expand Up @@ -79,10 +79,10 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Checkout MuPDF code
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
repository: ArtifexSoftware/mupdf
ref: ${{needs.version.outputs.version}}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
name: "${{ matrix.name }}"
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- uses: snyk/actions/setup@master
- uses: actions/setup-go@v1
- uses: actions/setup-go@v5
with:
go-version: '1.19'
go-version: '1.22.4'

- name: Exec ${{ matrix.target }}
env:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ go test -race
## Working with macOS
Unfortunately this repository does not supports macOS. In order to run and test the code on macOS, run the code inside a Docker container:
```shell
docker run --rm -it --platform linux/amd64 -v ${PWD}:/code -w /code golang:1.22.3
docker run --rm -it --platform linux/amd64 -v ${PWD}:/code -w /code golang:1.22.4
```

## Updating the native libraries
Expand Down
47 changes: 24 additions & 23 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,41 +1,42 @@
module github.com/nitro/lazypdf/v2

go 1.19
go 1.22.4

require (
github.com/stretchr/testify v1.8.4
gopkg.in/DataDog/dd-trace-go.v1 v1.61.0
github.com/stretchr/testify v1.9.0
gopkg.in/DataDog/dd-trace-go.v1 v1.64.0
)

require (
github.com/DataDog/appsec-internal-go v1.4.1 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.48.0 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.48.1 // indirect
github.com/DataDog/datadog-go/v5 v5.3.0 // indirect
github.com/DataDog/go-libddwaf/v2 v2.3.1 // indirect
github.com/DataDog/go-tuf v1.0.2-0.5.2 // indirect
github.com/DataDog/sketches-go v1.4.2 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/DataDog/appsec-internal-go v1.6.0 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.54.0 // indirect
github.com/DataDog/datadog-agent/pkg/remoteconfig/state v0.54.0 // indirect
github.com/DataDog/datadog-go/v5 v5.5.0 // indirect
github.com/DataDog/go-libddwaf/v2 v2.4.2 // indirect
github.com/DataDog/go-sqllexer v0.0.12 // indirect
github.com/DataDog/go-tuf v1.1.0-0.5.2 // indirect
github.com/DataDog/sketches-go v1.4.5 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/ebitengine/purego v0.6.0-alpha.5 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/uuid v1.3.1 // indirect
github.com/ebitengine/purego v0.7.1 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/google/uuid v1.6.0 // indirect
github.com/hashicorp/errwrap v1.1.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/outcaste-io/ristretto v0.2.3 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/secure-systems-lab/go-securesystemslib v0.7.0 // indirect
github.com/tinylib/msgp v1.1.8 // indirect
github.com/secure-systems-lab/go-securesystemslib v0.8.0 // indirect
github.com/tinylib/msgp v1.1.9 // indirect
go.uber.org/atomic v1.11.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/tools v0.12.1-0.20230815132531-74c255bcf846 // indirect
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
google.golang.org/protobuf v1.30.0 // indirect
golang.org/x/crypto v0.24.0 // indirect
golang.org/x/net v0.26.0 // indirect
golang.org/x/sys v0.21.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 // indirect
google.golang.org/protobuf v1.34.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit 7b68f5e

Please sign in to comment.