Skip to content

chore: bump github.com/sashabaranov/go-openai from 1.27.1 to 1.28.2 #321

chore: bump github.com/sashabaranov/go-openai from 1.27.1 to 1.28.2

chore: bump github.com/sashabaranov/go-openai from 1.27.1 to 1.28.2 #321

Workflow file for this run

name: lint
on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
branches:
- main
paths-ignore:
- '**.md'
permissions: read-all
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: audit
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2
with:
go-version: "1.22"
check-latest: true
- name: download
run: |
wget https://github.com/golangci/golangci-lint/releases/download/v${GOLANGCI_LINT_VERSION}/golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz
tar -xzf golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64.tar.gz
sudo mv golangci-lint-${GOLANGCI_LINT_VERSION}-linux-amd64/golangci-lint /usr/local/bin/
env:
GOLANGCI_LINT_VERSION: 1.56.2
- name: lint
run: |
golangci-lint version
golangci-lint run -v ./...