diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..8418dd5 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,49 @@ +# Please see the documentation for all configuration options: +# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates + +version: 2 +updates: + + # Maintain dependencies for print2pdf package + - package-ecosystem: "gomod" + directory: "/print2pdf" + schedule: + interval: "weekly" + groups: + aws: + patterns: ['github.com/aws/*'] + chromedp: + patterns: ['github.com/chromedp/*'] + # Maintain self-dependencies for plain module + - package-ecosystem: "gomod" + directory: "/plain" + schedule: + interval: "weekly" + groups: + chialab: + patterns: ['github.com/chialab/*'] + # Maintain self-dependencies for lambda module + - package-ecosystem: "gomod" + directory: "/lambda" + schedule: + interval: "weekly" + groups: + aws: + patterns: ['github.com/aws/*'] + chialab: + patterns: ['github.com/chialab/*'] + + # Maintain dependencies for GitHub Actions + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + groups: + gh-actions: + patterns: ['actions/*'] + docker: + patterns: ['docker/*'] + go-lint: + patterns: ['golangci/*'] + release: + patterns: ['softprops/*'] diff --git a/.github/workflows/dependency-submission.yml b/.github/workflows/dependency-submission.yml new file mode 100644 index 0000000..fd1c47a --- /dev/null +++ b/.github/workflows/dependency-submission.yml @@ -0,0 +1,33 @@ +name: "Go Dependency Submission" + +on: + push: + branches: [ main ] + +permissions: + contents: write + +jobs: + go-action-detection: + name: Submit dependencies + runs-on: ubuntu-latest + timeout-minutes: 5 + strategy: + matrix: + module: ['plain', 'lambda'] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + cache-dependency-path: ${{ matrix.module }}/go.sum + go-version-file: ${{ matrix.module }}/go.mod + + - name: Run snapshot action + uses: actions/go-dependency-submission@v2 + with: + go-mod-path: ${{ matrix.module }}/go.mod + go-build-target: ${{ matrix.module }}/main.go diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml new file mode 100644 index 0000000..30d12f9 --- /dev/null +++ b/.github/workflows/publish-package.yml @@ -0,0 +1,26 @@ +name: Publish GO package + +on: + push: + tags: [ print2pdf/v* ] + +jobs: + publish-package: + runs-on: ubuntu-latest + timeout-minutes: 5 + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + cache-dependency-path: print2pdf/go.sum + go-version-file: print2pdf/go.mod + + - name: Publish package + env: + GOPROXY: proxy.golang.org + TAG: ${{ github.ref_name }} + run: go list -m "github.com/chialab/print2pdf-go/print2pdf@${TAG#print2pdf/}" diff --git a/.github/workflows/release-binaries.yml b/.github/workflows/release-binaries.yml new file mode 100644 index 0000000..5545295 --- /dev/null +++ b/.github/workflows/release-binaries.yml @@ -0,0 +1,51 @@ +name: Release binaries + +on: + push: + tags: [ v* ] + +permissions: + contents: write + +jobs: + release-binaries: + name: Build and release binaries + runs-on: ubuntu-latest + timeout-minutes: 5 + strategy: + matrix: + module: ['plain', 'lambda'] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + cache-dependency-path: ${{ matrix.module }}/go.sum + go-version-file: ${{ matrix.module }}/go.mod + + - name: Build + env: + CGO_ENABLED: 0 + run: | + GOOS=linux GOARCH=amd64 go build -ldflags '-s' -o build/print2pdf-${{ matrix.module }}-linux-amd64 ${{ matrix.module }} + GOOS=linux GOARCH=arm64 go build -ldflags '-s' -o build/print2pdf-${{ matrix.module }}-linux-arm64 ${{ matrix.module }} + GOOS=darwin GOARCH=amd64 go build -ldflags '-s' -o build/print2pdf-${{ matrix.module }}-darwin-amd64 ${{ matrix.module }} + GOOS=darwin GOARCH=arm64 go build -ldflags '-s' -o build/print2pdf-${{ matrix.module }}-darwin-arm64 ${{ matrix.module }} + GOOS=windows GOARCH=amd64 go build -ldflags '-s' -o build/print2pdf-${{ matrix.module }}-windows-amd64 ${{ matrix.module }} + GOOS=windows GOARCH=arm64 go build -ldflags '-s' -o build/print2pdf-${{ matrix.module }}-windows-arm64 ${{ matrix.module }} + + - name: Release + uses: softprops/action-gh-release@v2 + with: + draft: true + generate_release_notes: true + files: | + build/print2pdf-${{ matrix.module }}-linux-amd64 + build/print2pdf-${{ matrix.module }}-linux-arm64 + build/print2pdf-${{ matrix.module }}-darwin-amd64 + build/print2pdf-${{ matrix.module }}-darwin-arm64 + build/print2pdf-${{ matrix.module }}-windows-amd64 + build/print2pdf-${{ matrix.module }}-windows-arm64 \ No newline at end of file diff --git a/.github/workflows/release-containers.yml b/.github/workflows/release-containers.yml new file mode 100644 index 0000000..8c73b32 --- /dev/null +++ b/.github/workflows/release-containers.yml @@ -0,0 +1,55 @@ +name: Release containers + +on: + push: + tags: [ v* ] + +jobs: + release-containers: + name: Build and release containers + runs-on: ubuntu-latest + timeout-minutes: 5 + strategy: + matrix: + module: ['plain', 'lambda'] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Docker meta + id: meta + uses: docker/metadata-action@v5 + with: + images: | + ghcr.io/chialab/print2pdf + tags: | + type=semver,pattern={{version}} + type=semver,pattern={{major}}.{{minor}} + type=semver,pattern={{major}} + flavor: | + suffix=-${{ matrix.module }} + + - name: Login to GitHub Packages + if: github.event_name != 'pull_request' + uses: docker/login-action@v3 + with: + registry: ghcr.io + username: ${{ github.repository_owner }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: ${{ matrix.module }} + file: ${{ matrix.module }}/Dockerfile + platforms: linux/amd64,linux/arm64 + push: true + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..0be16e2 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,31 @@ +name: Test + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + lint: + name: Run linter + runs-on: ubuntu-latest + strategy: + matrix: + module: ['plain', 'lambda'] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Go + uses: actions/setup-go@v5 + with: + cache-dependency-path: ${{ matrix.module }}/go.sum + go-version-file: ${{ matrix.module }}/go.mod + + - name: Linter + uses: golangci/golangci-lint-action@v6 + with: + version: latest + working-directory: ${{ matrix.module }} diff --git a/Makefile b/Makefile index 14ad861..46c37b6 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ -.PHONY: lambda plain +.PHONY: bin-plain bin-lambda docker-plain docker-lambda IMAGE_NAME ?= print2pdf IMAGE_TAG ?= dev -plain: +bin-plain: + CGO_ENABLED=0 go build -ldflags '-s' -o build/print2pdf-plain plain + +bin-lambda: + CGO_ENABLED=0 go build -ldflags '-s' -o build/print2pdf-lambda lambda + +docker-plain: docker build -t $(IMAGE_NAME):$(IMAGE_TAG) --file plain/Dockerfile plain/ -lambda: +docker-lambda: docker build -t $(IMAGE_NAME):$(IMAGE_TAG) --file lambda/Dockerfile lambda/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..9335732 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Go Reference diff --git a/go.mod b/go.mod deleted file mode 100644 index c6a81da..0000000 --- a/go.mod +++ /dev/null @@ -1,5 +0,0 @@ -module github.com/chialab/print2pdf-go - -go 1.22.5 - -retract [v0.0.0-0, v0.1.4] // Remove this module, it was a mistake. diff --git a/lambda/go.sum b/lambda/go.sum index 20222a0..11abfda 100644 --- a/lambda/go.sum +++ b/lambda/go.sum @@ -26,8 +26,6 @@ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17 h1:HGErhhrx github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17/go.mod h1:RkZEx4l0EHYDJpWppMJ3nD9wZJAa8/0lq9aVC+r2UII= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15 h1:246A4lSTXWJw/rmlQI+TT2OcqeDMKBdyjEQrafMaQdA= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15/go.mod h1:haVfg3761/WF7YPuJOER2MP0k4UAXyHaLclKXB6usDg= -github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2 h1:sZXIzO38GZOU+O0C+INqbH7C2yALwfMWpd64tONS/NE= -github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2/go.mod h1:Lcxzg5rojyVPU/0eFwLtcyTaek/6Mtic5B1gJo7e/zE= github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3 h1:hT8ZAZRIfqBqHbzKTII+CIiY8G2oC9OpLedkZ51DWl8= github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3/go.mod h1:Lcxzg5rojyVPU/0eFwLtcyTaek/6Mtic5B1gJo7e/zE= github.com/aws/aws-sdk-go-v2/service/sso v1.22.4 h1:BXx0ZIxvrJdSgSvKTZ+yRBeSqqgPM89VPlulEcl37tM= @@ -38,21 +36,10 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.30.3 h1:ZsDKRLXGWHk8WdtyYMoGNO7bTudr github.com/aws/aws-sdk-go-v2/service/sts v1.30.3/go.mod h1:zwySh8fpFyXp9yOr/KVzxOl8SRqgf/IDw5aUt9UKFcQ= github.com/aws/smithy-go v1.20.3 h1:ryHwveWzPV5BIof6fyDvor6V3iUL7nTfiTKXHiW05nE= github.com/aws/smithy-go v1.20.3/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= -github.com/chialab/print2pdf-go/print2pdf v0.0.0-20240801003124-bff0528902dd h1:86yHQJAgswmXKf/ejWdYPy0h5WG4w0KheDEKW15i1WA= -github.com/chialab/print2pdf-go/print2pdf v0.0.0-20240801003124-bff0528902dd/go.mod h1:r70w2eB4GpO/Zn3Sw+pzWSo7kJn206wNHA35hcx6V0I= -github.com/chialab/print2pdf-go/print2pdf v0.1.4 h1:SMsbEABbTCDZo2v3VidbVok1tfbOyLewkE12eepxT8c= -github.com/chialab/print2pdf-go/print2pdf v0.1.4/go.mod h1:zBUOgJd/WGICjtzth3XGkkpBm2wV2VezmJtw72Hmnv8= -github.com/chialab/print2pdf-go/print2pdf v0.1.5 h1:p+NdE4z7jBKXvzpwyS0Le5ipDRYX9X9QpLUtK9zEzmc= -github.com/chialab/print2pdf-go/print2pdf v0.1.5/go.mod h1:zBUOgJd/WGICjtzth3XGkkpBm2wV2VezmJtw72Hmnv8= github.com/chialab/print2pdf-go/print2pdf v0.1.6 h1:9VPqq1iLSdYi1w56q6R//r6GMdoGTdRmCbZP2TTr+Tg= github.com/chialab/print2pdf-go/print2pdf v0.1.6/go.mod h1:zBUOgJd/WGICjtzth3XGkkpBm2wV2VezmJtw72Hmnv8= -github.com/chromedp/cdproto v0.0.0-20240202021202-6d0b6a386732/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= -github.com/chromedp/cdproto v0.0.0-20240721024200-dac8efcb39ce h1:pvzUsAunw3R7swXkLT6vqv81Awhnds43mbZHAzhn2pQ= -github.com/chromedp/cdproto v0.0.0-20240721024200-dac8efcb39ce/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335 h1:bATMoZLH2QGct1kzDxfmeBUQI/QhQvB0mBrOTct+YlQ= github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= -github.com/chromedp/chromedp v0.9.5 h1:viASzruPJOiThk7c5bueOUY91jGLJVximoEMGoH93rg= -github.com/chromedp/chromedp v0.9.5/go.mod h1:D4I2qONslauw/C7INoCir1BJkSwBYMyZgx8X276z3+Y= github.com/chromedp/chromedp v0.10.0 h1:bRclRYVpMm/UVD76+1HcRW9eV3l58rFfy7AdBvKab1E= github.com/chromedp/chromedp v0.10.0/go.mod h1:ei/1ncZIqXX1YnAYDkxhD4gzBgavMEUu7JCKvztdomE= github.com/chromedp/sysutil v1.0.0 h1:+ZxhTpfpZlmchB58ih/LBHX52ky7w2VhQVKQMucy3Ic= @@ -63,7 +50,6 @@ github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og= github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= -github.com/gobwas/ws v1.3.2/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY= github.com/gobwas/ws v1.4.0 h1:CTaoG1tojrh4ucGPcoJFiAQUAsEWekEWvLy7GsVNqGs= github.com/gobwas/ws v1.4.0/go.mod h1:G3gNqMNtPppf5XUz7O4shetPpcZ1VJ7zt18dlUeakrc= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= @@ -81,7 +67,6 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/stretchr/testify v1.7.2 h1:4jaiDzPyXQvSd7D0EjG45355tLlV3VOECpq10pLC+8s= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/plain/go.sum b/plain/go.sum index 17424eb..be13a7f 100644 --- a/plain/go.sum +++ b/plain/go.sum @@ -24,8 +24,6 @@ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17 h1:HGErhhrx github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17/go.mod h1:RkZEx4l0EHYDJpWppMJ3nD9wZJAa8/0lq9aVC+r2UII= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15 h1:246A4lSTXWJw/rmlQI+TT2OcqeDMKBdyjEQrafMaQdA= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15/go.mod h1:haVfg3761/WF7YPuJOER2MP0k4UAXyHaLclKXB6usDg= -github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2 h1:sZXIzO38GZOU+O0C+INqbH7C2yALwfMWpd64tONS/NE= -github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2/go.mod h1:Lcxzg5rojyVPU/0eFwLtcyTaek/6Mtic5B1gJo7e/zE= github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3 h1:hT8ZAZRIfqBqHbzKTII+CIiY8G2oC9OpLedkZ51DWl8= github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3/go.mod h1:Lcxzg5rojyVPU/0eFwLtcyTaek/6Mtic5B1gJo7e/zE= github.com/aws/aws-sdk-go-v2/service/sso v1.22.4 h1:BXx0ZIxvrJdSgSvKTZ+yRBeSqqgPM89VPlulEcl37tM= @@ -36,21 +34,10 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.30.3 h1:ZsDKRLXGWHk8WdtyYMoGNO7bTudr github.com/aws/aws-sdk-go-v2/service/sts v1.30.3/go.mod h1:zwySh8fpFyXp9yOr/KVzxOl8SRqgf/IDw5aUt9UKFcQ= github.com/aws/smithy-go v1.20.3 h1:ryHwveWzPV5BIof6fyDvor6V3iUL7nTfiTKXHiW05nE= github.com/aws/smithy-go v1.20.3/go.mod h1:krry+ya/rV9RDcV/Q16kpu6ypI4K2czasz0NC3qS14E= -github.com/chialab/print2pdf-go/print2pdf v0.0.0-20240801004620-b2cc33f39506 h1:HPYUc6DVZX7Ja736075Fqs4LZU/EdcRCAu7hevsFPF0= -github.com/chialab/print2pdf-go/print2pdf v0.0.0-20240801004620-b2cc33f39506/go.mod h1:r70w2eB4GpO/Zn3Sw+pzWSo7kJn206wNHA35hcx6V0I= -github.com/chialab/print2pdf-go/print2pdf v0.1.4 h1:SMsbEABbTCDZo2v3VidbVok1tfbOyLewkE12eepxT8c= -github.com/chialab/print2pdf-go/print2pdf v0.1.4/go.mod h1:zBUOgJd/WGICjtzth3XGkkpBm2wV2VezmJtw72Hmnv8= -github.com/chialab/print2pdf-go/print2pdf v0.1.5 h1:p+NdE4z7jBKXvzpwyS0Le5ipDRYX9X9QpLUtK9zEzmc= -github.com/chialab/print2pdf-go/print2pdf v0.1.5/go.mod h1:zBUOgJd/WGICjtzth3XGkkpBm2wV2VezmJtw72Hmnv8= github.com/chialab/print2pdf-go/print2pdf v0.1.6 h1:9VPqq1iLSdYi1w56q6R//r6GMdoGTdRmCbZP2TTr+Tg= github.com/chialab/print2pdf-go/print2pdf v0.1.6/go.mod h1:zBUOgJd/WGICjtzth3XGkkpBm2wV2VezmJtw72Hmnv8= -github.com/chromedp/cdproto v0.0.0-20240202021202-6d0b6a386732/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= -github.com/chromedp/cdproto v0.0.0-20240721024200-dac8efcb39ce h1:pvzUsAunw3R7swXkLT6vqv81Awhnds43mbZHAzhn2pQ= -github.com/chromedp/cdproto v0.0.0-20240721024200-dac8efcb39ce/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335 h1:bATMoZLH2QGct1kzDxfmeBUQI/QhQvB0mBrOTct+YlQ= github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335/go.mod h1:GKljq0VrfU4D5yc+2qA6OVr8pmO/MBbPEWqWQ/oqGEs= -github.com/chromedp/chromedp v0.9.5 h1:viASzruPJOiThk7c5bueOUY91jGLJVximoEMGoH93rg= -github.com/chromedp/chromedp v0.9.5/go.mod h1:D4I2qONslauw/C7INoCir1BJkSwBYMyZgx8X276z3+Y= github.com/chromedp/chromedp v0.10.0 h1:bRclRYVpMm/UVD76+1HcRW9eV3l58rFfy7AdBvKab1E= github.com/chromedp/chromedp v0.10.0/go.mod h1:ei/1ncZIqXX1YnAYDkxhD4gzBgavMEUu7JCKvztdomE= github.com/chromedp/sysutil v1.0.0 h1:+ZxhTpfpZlmchB58ih/LBHX52ky7w2VhQVKQMucy3Ic= @@ -59,7 +46,6 @@ github.com/gobwas/httphead v0.1.0 h1:exrUm0f4YX0L7EBwZHuCF4GDp8aJfVeBrlLQrs6NqWU github.com/gobwas/httphead v0.1.0/go.mod h1:O/RXo79gxV8G+RqlR/otEwx4Q36zl9rqC5u12GKvMCM= github.com/gobwas/pool v0.2.1 h1:xfeeEhW7pwmX8nuLVlqbzVc7udMDrwetjEv+TZIz1og= github.com/gobwas/pool v0.2.1/go.mod h1:q8bcK0KcYlCgd9e7WYLm9LpyS+YeLd8JVDW6WezmKEw= -github.com/gobwas/ws v1.3.2/go.mod h1:hRKAFb8wOxFROYNsT1bqfWnhX+b5MFeJM9r2ZSwg/KY= github.com/gobwas/ws v1.4.0 h1:CTaoG1tojrh4ucGPcoJFiAQUAsEWekEWvLy7GsVNqGs= github.com/gobwas/ws v1.4.0/go.mod h1:G3gNqMNtPppf5XUz7O4shetPpcZ1VJ7zt18dlUeakrc= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= @@ -73,6 +59,5 @@ github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJ github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde h1:x0TT0RDC7UhAVbbWWBzr41ElhJx5tXPWkIHA2HWPRuw= github.com/orisano/pixelmatch v0.0.0-20220722002657-fb0b55479cde/go.mod h1:nZgzbfBr3hhjoZnS66nKrHmduYNpc34ny7RK4z5/HM0= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= diff --git a/print2pdf/go.mod b/print2pdf/go.mod index 1d33561..64b5e26 100644 --- a/print2pdf/go.mod +++ b/print2pdf/go.mod @@ -6,7 +6,7 @@ retract [v0.1.0, v0.1.3] // Remove publication tests. require ( github.com/aws/aws-sdk-go-v2/config v1.27.27 - github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2 + github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3 github.com/chromedp/cdproto v0.0.0-20240801214329-3f85d328b335 github.com/chromedp/chromedp v0.10.0 github.com/google/uuid v1.6.0 diff --git a/print2pdf/go.sum b/print2pdf/go.sum index 74ed01b..d4b5b59 100644 --- a/print2pdf/go.sum +++ b/print2pdf/go.sum @@ -24,8 +24,8 @@ github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17 h1:HGErhhrx github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.17/go.mod h1:RkZEx4l0EHYDJpWppMJ3nD9wZJAa8/0lq9aVC+r2UII= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15 h1:246A4lSTXWJw/rmlQI+TT2OcqeDMKBdyjEQrafMaQdA= github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.15/go.mod h1:haVfg3761/WF7YPuJOER2MP0k4UAXyHaLclKXB6usDg= -github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2 h1:sZXIzO38GZOU+O0C+INqbH7C2yALwfMWpd64tONS/NE= -github.com/aws/aws-sdk-go-v2/service/s3 v1.58.2/go.mod h1:Lcxzg5rojyVPU/0eFwLtcyTaek/6Mtic5B1gJo7e/zE= +github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3 h1:hT8ZAZRIfqBqHbzKTII+CIiY8G2oC9OpLedkZ51DWl8= +github.com/aws/aws-sdk-go-v2/service/s3 v1.58.3/go.mod h1:Lcxzg5rojyVPU/0eFwLtcyTaek/6Mtic5B1gJo7e/zE= github.com/aws/aws-sdk-go-v2/service/sso v1.22.4 h1:BXx0ZIxvrJdSgSvKTZ+yRBeSqqgPM89VPlulEcl37tM= github.com/aws/aws-sdk-go-v2/service/sso v1.22.4/go.mod h1:ooyCOXjvJEsUw7x+ZDHeISPMhtwI3ZCB7ggFMcFfWLU= github.com/aws/aws-sdk-go-v2/service/ssooidc v1.26.4 h1:yiwVzJW2ZxZTurVbYWA7QOrAaCYQR72t0wrSBfoesUE=