Skip to content

fix(observability): send slog errors as sentry logs #16

fix(observability): send slog errors as sentry logs

fix(observability): send slog errors as sentry logs #16

Workflow file for this run

name: CI
permissions: read-all
env:
GO_VERSION: "1.26"
GOLANGCI_LINT_VERSION: "v2.12.2"
OAPI_CODEGEN_VERSION: "v2.7.0"
on:
push:
branches:
- main
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
checks: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- uses: extractions/setup-just@v3
- name: install dependencies
run: just install
- name: go fix
run: just go-fix-verify
- name: golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: ${{ env.GOLANGCI_LINT_VERSION }}
args: --path-mode=abs --config=".golangci.yml" --timeout=5m
- name: go vet
run: just vet
generate:
name: Generated code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- uses: extractions/setup-just@v3
- name: install dependencies
run: just install
- name: Verify generated code
run: just generate-verify
test:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- uses: extractions/setup-just@v3
- name: install dependencies
run: just install
- name: Test
run: just test-ci