Skip to content

Commit 30f9669

Browse files
authored
Merge pull request #2 from tbckr/main
merge latest commits
2 parents e2b2566 + 858fe0f commit 30f9669

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
version: 3.x
7070
repo-token: ${{ secrets.GITHUB_TOKEN }}
7171
# Install various tools
72-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
72+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
7373
with:
7474
go-version-file: go.mod
7575
cache: true
@@ -108,7 +108,7 @@ jobs:
108108
# Checkout repo
109109
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
110110
# Install Go
111-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
111+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
112112
with:
113113
go-version-file: go.mod
114114
cache: true
@@ -128,7 +128,7 @@ jobs:
128128
- name: Checkout
129129
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
130130
- name: Install Go
131-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
131+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
132132
with:
133133
go-version-file: go.mod
134134
cache: true

.github/workflows/depsreview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ jobs:
4141
- name: 'Checkout Repository'
4242
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
4343
- name: 'Dependency Review'
44-
uses: actions/dependency-review-action@67d4f4bd7a9b17a0db54d2a7519187c65e339de8 # v4
44+
uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4
4545
with:
4646
allow-licenses: BSD-2-Clause, BSD-3-Clause, MIT, Apache-2.0, MPL-2.0, ISC

.github/workflows/oss-licenses.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
5151

5252
- name: Set up Go
53-
uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
53+
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
5454
with:
5555
go-version-file: go.mod
5656

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,16 @@ jobs:
6363
if: ${{ steps.release.outputs.release_created }}
6464

6565
# Install necessary tools
66-
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5
66+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5
6767
if: ${{ steps.release.outputs.release_created }}
6868
with:
6969
go-version-file: go.mod
7070
cache: true
7171
- uses: docker/setup-buildx-action@b5ca514318bd6ebac0fb2aedd5d36ec1b5c232a2 # v3
7272
if: ${{ steps.release.outputs.release_created }}
73-
- uses: anchore/sbom-action/download-syft@9f7302141466aa6482940f15371237e9d9f4c34a # v0.19.0
73+
- uses: anchore/sbom-action/download-syft@e11c554f704a0b820cbf8c51673f6945e0731532 # v0.20.0
7474
if: ${{ steps.release.outputs.release_created }}
75-
- uses: sigstore/cosign-installer@d7d6bc7722e3daa8354c50bcb52f4837da5e9b6a # v3
75+
- uses: sigstore/cosign-installer@3454372f43399081ed03b604cb2d021dabca52bb # v3
7676
if: ${{ steps.release.outputs.release_created }}
7777

7878
# Login to ghcr.io

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repos:
3131
- id: check-executables-have-shebangs
3232

3333
- repo: https://github.com/gitleaks/gitleaks
34-
rev: v8.24.3
34+
rev: v8.26.0
3535
hooks:
3636
- id: gitleaks-docker
3737

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
# SPDX-License-Identifier: MIT
2121

2222
ARG BUILDPLATFORM=linux/amd64
23-
ARG BASE_IMAGE_VERSION=golang:1.24@sha256:30baaea08c5d1e858329c50f29fe381e9b7d7bced11a0f5f1f69a1504cdfbf5e
23+
ARG BASE_IMAGE_VERSION=golang:1.24@sha256:02a22753ab3426d91ba5ba6f4dfb4ac2454f19b05afdb18d61ab02cbf1a2dffe
2424
FROM --platform=$BUILDPLATFORM ${BASE_IMAGE_VERSION} as build
2525

2626
WORKDIR /go/src/github.com/tbckr/sgpt
@@ -29,7 +29,7 @@ RUN go mod download
2929
COPY . .
3030
RUN CGO_ENABLED=0 go build -o sgpt -v ./cmd/sgpt/main.go
3131

32-
FROM cgr.dev/chainguard/static:latest@sha256:2e3db1641bb4fe4e85d2210f4aadb79252e90d5fa745f53a3ffed6a1aab4f73b
32+
FROM cgr.dev/chainguard/static:latest@sha256:8d1a96321dca0e8e7848b7db2d431191f15e7e302faa1428100bbab351d42c7a
3333
ENV HOME /home/nonroot
3434
VOLUME /home/nonroot
3535
COPY --from=build /go/src/github.com/tbckr/sgpt/sgpt /sgpt

Dockerfile.goreleaser

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG BUILDPLATFORM=linux/amd64
2-
ARG BASE_IMAGE_VERSION=cgr.dev/chainguard/static:latest@sha256:2e3db1641bb4fe4e85d2210f4aadb79252e90d5fa745f53a3ffed6a1aab4f73b
2+
ARG BASE_IMAGE_VERSION=cgr.dev/chainguard/static:latest@sha256:8d1a96321dca0e8e7848b7db2d431191f15e7e302faa1428100bbab351d42c7a
33
FROM --platform=$BUILDPLATFORM ${BASE_IMAGE_VERSION}
44
ENV HOME /home/nonroot
55
VOLUME /home/nonroot

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ require (
77
github.com/jarcoal/httpmock v1.4.0
88
github.com/muesli/mango-cobra v1.2.0
99
github.com/muesli/roff v0.1.0
10-
github.com/sashabaranov/go-openai v1.38.2
10+
github.com/sashabaranov/go-openai v1.40.0
1111
github.com/spf13/cobra v1.9.1
1212
github.com/spf13/viper v1.20.1
1313
github.com/stretchr/testify v1.10.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/f
4141
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
4242
github.com/sagikazarmark/locafero v0.7.0 h1:5MqpDsTGNDhY8sGp0Aowyf0qKsPrhewaLSsFaodPcyo=
4343
github.com/sagikazarmark/locafero v0.7.0/go.mod h1:2za3Cg5rMaTMoG/2Ulr9AwtFaIppKXTRYnozin4aB5k=
44-
github.com/sashabaranov/go-openai v1.38.2 h1:akrssjj+6DY3lWuDwHv6cBvJ8Z+FZDM9XEaaYFt0Auo=
45-
github.com/sashabaranov/go-openai v1.38.2/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
44+
github.com/sashabaranov/go-openai v1.40.0 h1:Peg9Iag5mUJtPW00aYatlsn97YML0iNULiLNe74iPrU=
45+
github.com/sashabaranov/go-openai v1.40.0/go.mod h1:lj5b/K+zjTSFxVLijLSTDZuP7adOgerWeFyZLUhAKRg=
4646
github.com/sourcegraph/conc v0.3.0 h1:OQTbbt6P72L20UqAkXXuLOj79LfEanQ+YQFNpLA9ySo=
4747
github.com/sourcegraph/conc v0.3.0/go.mod h1:Sdozi7LEKbFPqYX2/J+iBAM6HpqSLTASQIKqDmF7Mt0=
4848
github.com/spf13/afero v1.12.0 h1:UcOPyRBYczmFn6yvphxkn9ZEOY65cpwGKb5mL36mrqs=

licenses/oss-licenses.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Some packages may only be included on certain architectures or operating systems
1515
- [github.com/muesli/roff](https://pkg.go.dev/github.com/muesli/roff) ([MIT](https://github.com/muesli/roff/blob/v0.1.0/LICENSE))
1616
- [github.com/pelletier/go-toml/v2](https://pkg.go.dev/github.com/pelletier/go-toml/v2) ([MIT](https://github.com/pelletier/go-toml/blob/v2.2.3/LICENSE))
1717
- [github.com/sagikazarmark/locafero](https://pkg.go.dev/github.com/sagikazarmark/locafero) ([MIT](https://github.com/sagikazarmark/locafero/blob/v0.7.0/LICENSE))
18-
- [github.com/sashabaranov/go-openai](https://pkg.go.dev/github.com/sashabaranov/go-openai) ([Apache-2.0](https://github.com/sashabaranov/go-openai/blob/v1.38.2/LICENSE))
18+
- [github.com/sashabaranov/go-openai](https://pkg.go.dev/github.com/sashabaranov/go-openai) ([Apache-2.0](https://github.com/sashabaranov/go-openai/blob/v1.40.0/LICENSE))
1919
- [github.com/sourcegraph/conc](https://pkg.go.dev/github.com/sourcegraph/conc) ([MIT](https://github.com/sourcegraph/conc/blob/v0.3.0/LICENSE))
2020
- [github.com/spf13/afero](https://pkg.go.dev/github.com/spf13/afero) ([Apache-2.0](https://github.com/spf13/afero/blob/v1.12.0/LICENSE.txt))
2121
- [github.com/spf13/cast](https://pkg.go.dev/github.com/spf13/cast) ([MIT](https://github.com/spf13/cast/blob/v1.7.1/LICENSE))
@@ -531,8 +531,8 @@ THE SOFTWARE.
531531
### github.com/sashabaranov/go-openai
532532

533533
- Name: github.com/sashabaranov/go-openai
534-
- Version: v1.38.2
535-
- License: [Apache-2.0](https://github.com/sashabaranov/go-openai/blob/v1.38.2/LICENSE)
534+
- Version: v1.40.0
535+
- License: [Apache-2.0](https://github.com/sashabaranov/go-openai/blob/v1.40.0/LICENSE)
536536

537537
```text
538538
Apache License

0 commit comments

Comments
 (0)