Skip to content

Commit dcee9e2

Browse files
committed
Update dependencies
1 parent 4909ec3 commit dcee9e2

File tree

8 files changed

+197
-654
lines changed

8 files changed

+197
-654
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Scan dependencies
5757
if: ${{ !contains(env.commit_msg, '[skip scan-deps]') }}
5858
uses: sonatype-nexus-community/nancy-github-action@v1.0.3
59-
59+
6060
# Scan for leaked secrets
6161
# Can be excluded if the commit message contains: [skip scan-secrets]
6262
# https://github.com/marketplace/actions/trufflehog-oss
@@ -75,7 +75,7 @@ jobs:
7575
needs: scan
7676
strategy:
7777
matrix:
78-
go-version: [1.19.x, 1.20.x, 1.21.x]
78+
go-version: [1.20.x, 1.21.x, 1.22.x]
7979
os: [ubuntu-latest]
8080
runs-on: ${{ matrix.os }}
8181
timeout-minutes: 15
@@ -125,4 +125,4 @@ jobs:
125125
with:
126126
name: assets
127127
path: |
128-
coverage.html
128+
coverage-${{ matrix.go-version }}.html

.github/workflows/codeql.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ env:
44
on:
55
push:
66
branches:
7-
- '*'
7+
- "*"
88
pull_request:
99
branches:
1010
- main
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
fail-fast: false
2121
matrix:
22-
language: ['go']
22+
language: ["go"]
2323
steps:
2424
# Checkout code
2525
- name: Checkout repository
@@ -31,7 +31,7 @@ jobs:
3131
echo 'commit_msg<<EOF' >> $GITHUB_ENV
3232
git log --format=%B -n 1 ${{ github.sha }} >> $GITHUB_ENV
3333
echo 'EOF' >> $GITHUB_ENV
34-
34+
3535
# Prepare runner environment
3636
- name: Set up runner environment
3737
run: ./.github/workflows/assets/utils.sh setup
@@ -41,17 +41,17 @@ jobs:
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@v2
44+
uses: github/codeql-action/init@v3
4545
with:
4646
languages: ${{ matrix.language }}
4747
# If you wish to specify custom queries, you can do so here or in a config file.
48-
# By default, queries listed here will override any specified in a config file.
48+
# By default, queries listed here will override any specified in a config file.
4949
# Prefix the list here with "+" to use these queries and those in the config file.
5050
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5151

5252
# Auto build attempts to build any compiled languages (C/C++, C#, or Java).
5353
- name: Auto build
54-
uses: github/codeql-action/autobuild@v2
54+
uses: github/codeql-action/autobuild@v3
5555

5656
# Run manual build only if auto-build fails
5757
- name: Manual build
@@ -64,4 +64,4 @@ jobs:
6464
# Can be excluded if the commit message contains: [skip codeql]
6565
- name: Perform CodeQL analysis
6666
if: ${{ !contains(env.commit_msg, '[skip codeql]') }}
67-
uses: github/codeql-action/analyze@v2
67+
uses: github/codeql-action/analyze@v3

.github/workflows/maintenance.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@ jobs:
88
name: "close stale issues and pull requests"
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/stale@v8
11+
- uses: actions/stale@v9
1212
with:
1313
# On the 'debug' mode the action will not perform any operation.
1414
# Add the secret ACTIONS_STEP_DEBUG with a value of 'true' in the repository.
1515
debug-only: false
1616
repo-token: ${{ secrets.GITHUB_TOKEN }}
1717
days-before-stale: 45
1818
days-before-close: 5
19-
stale-issue-label: 'stale'
20-
stale-pr-label: 'stale'
21-
exempt-issue-labels: 'help wanted,awaiting approval,work in progress'
22-
exempt-pr-labels: 'help wanted,awaiting approval,work in progress'
23-
stale-issue-message: 'This issue has been marked as **stale** because it has not registered any activity during the last 45 days. If the **stale** label is not removed or no activity is registered, this will be automatically closed in 5 days.'
24-
close-issue-message: 'This issue has been closed automatically after not registering any activity for 50 consecutive days.'
25-
stale-pr-message: 'This pull request has been marked as **stale** because it has not registered any activity during the last 45 days. If the **stale** label is not removed or no activity is registered, this will be automatically closed in 5 days.'
26-
close-pr-message: 'This pull request has been closed automatically after not registering any activity for 50 consecutive days.'
19+
stale-issue-label: "stale"
20+
stale-pr-label: "stale"
21+
exempt-issue-labels: "help wanted,awaiting approval,work in progress"
22+
exempt-pr-labels: "help wanted,awaiting approval,work in progress"
23+
stale-issue-message: "This issue has been marked as **stale** because it has not registered any activity during the last 45 days. If the **stale** label is not removed or no activity is registered, this will be automatically closed in 5 days."
24+
close-issue-message: "This issue has been closed automatically after not registering any activity for 50 consecutive days."
25+
stale-pr-message: "This pull request has been marked as **stale** because it has not registered any activity during the last 45 days. If the **stale** label is not removed or no activity is registered, this will be automatically closed in 5 days."
26+
close-pr-message: "This pull request has been closed automatically after not registering any activity for 50 consecutive days."

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Easily deploy a robust HTTP(S) server from contents on your file system.
1111
Features include:
1212

1313
- Content Security Policy (CSP)
14+
- Single page applications (SPA); React, Svelte, Vue, etc.
1415
- OpenTelemetry monitoring
1516
- Error reporting (using Sentry)
1617
- TLS
@@ -66,6 +67,9 @@ server:
6667
headers:
6768
- authorization
6869
- x-api-key
70+
otel:
71+
enabled: true
72+
trace_header: "x-request-id"
6973
cors:
7074
max_age: 300
7175
options_status_code: 200

go.mod

Lines changed: 48 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -3,86 +3,81 @@ module github.com/bryk-io/serve
33
go 1.18
44

55
require (
6-
github.com/spf13/cobra v1.7.0
7-
github.com/spf13/viper v1.17.0
8-
go.bryk.io/pkg v0.0.0-20231014020804-767c6db4f19f
6+
github.com/spf13/cobra v1.8.0
7+
github.com/spf13/viper v1.18.2
8+
go.bryk.io/pkg v0.0.0-20240321172412-f4bb95439108
99
)
1010

1111
require (
12-
github.com/beorn7/perks v1.0.1 // indirect
12+
github.com/aymanbagabas/go-osc52/v2 v2.0.1 // indirect
1313
github.com/briandowns/spinner v1.23.0 // indirect
1414
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
15-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
15+
github.com/charmbracelet/lipgloss v0.10.0 // indirect
16+
github.com/charmbracelet/log v0.4.0 // indirect
1617
github.com/fatih/color v1.15.0 // indirect
17-
github.com/felixge/httpsnoop v1.0.3 // indirect
18-
github.com/fsnotify/fsnotify v1.6.0 // indirect
19-
github.com/getsentry/sentry-go v0.25.0 // indirect
20-
github.com/go-logr/logr v1.2.4 // indirect
18+
github.com/felixge/httpsnoop v1.0.4 // indirect
19+
github.com/fsnotify/fsnotify v1.7.0 // indirect
20+
github.com/getsentry/sentry-go v0.27.0 // indirect
21+
github.com/go-logfmt/logfmt v0.6.0 // indirect
22+
github.com/go-logr/logr v1.4.1 // indirect
2123
github.com/go-logr/stdr v1.2.2 // indirect
2224
github.com/go-ole/go-ole v1.2.6 // indirect
23-
github.com/golang/protobuf v1.5.3 // indirect
24-
github.com/gorilla/handlers v1.5.1 // indirect
25-
github.com/gorilla/websocket v1.5.0 // indirect
26-
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
27-
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 // indirect
28-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect
25+
github.com/golang/protobuf v1.5.4 // indirect
26+
github.com/gorilla/handlers v1.5.2 // indirect
27+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.1 // indirect
2928
github.com/hashicorp/hcl v1.0.0 // indirect
3029
github.com/inconshreveable/mousetrap v1.1.0 // indirect
30+
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
3131
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
3232
github.com/magiconair/properties v1.8.7 // indirect
3333
github.com/mattn/go-colorable v0.1.13 // indirect
3434
github.com/mattn/go-isatty v0.0.19 // indirect
35-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
35+
github.com/mattn/go-runewidth v0.0.15 // indirect
3636
github.com/mitchellh/mapstructure v1.5.0 // indirect
37+
github.com/muesli/reflow v0.3.0 // indirect
38+
github.com/muesli/termenv v0.15.2 // indirect
3739
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
3840
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
39-
github.com/prometheus/client_golang v1.17.0 // indirect
40-
github.com/prometheus/client_model v0.5.0 // indirect
41-
github.com/prometheus/common v0.44.0 // indirect
42-
github.com/prometheus/procfs v0.11.1 // indirect
43-
github.com/rs/zerolog v1.31.0 // indirect
44-
github.com/sagikazarmark/locafero v0.3.0 // indirect
41+
github.com/rivo/uniseg v0.4.7 // indirect
42+
github.com/rs/zerolog v1.32.0 // indirect
43+
github.com/sagikazarmark/locafero v0.4.0 // indirect
4544
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
46-
github.com/shirou/gopsutil/v3 v3.23.8 // indirect
45+
github.com/shirou/gopsutil/v3 v3.24.1 // indirect
4746
github.com/shoenig/go-m1cpu v0.1.6 // indirect
4847
github.com/sirupsen/logrus v1.9.3 // indirect
49-
github.com/soheilhy/cmux v0.1.5 // indirect
5048
github.com/sourcegraph/conc v0.3.0 // indirect
51-
github.com/spf13/afero v1.10.0 // indirect
52-
github.com/spf13/cast v1.5.1 // indirect
49+
github.com/spf13/afero v1.11.0 // indirect
50+
github.com/spf13/cast v1.6.0 // indirect
5351
github.com/spf13/pflag v1.0.5 // indirect
5452
github.com/subosito/gotenv v1.6.0 // indirect
5553
github.com/tklauser/go-sysconf v0.3.12 // indirect
5654
github.com/tklauser/numcpus v0.6.1 // indirect
5755
github.com/yusufpapurcu/wmi v1.2.3 // indirect
58-
go.opentelemetry.io/contrib/instrumentation/host v0.45.0 // indirect
59-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 // indirect
60-
go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0 // indirect
61-
go.opentelemetry.io/otel v1.19.0 // indirect
62-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0 // indirect
63-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.42.0 // indirect
64-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 // indirect
65-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0 // indirect
66-
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v0.42.0 // indirect
67-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.19.0 // indirect
68-
go.opentelemetry.io/otel/metric v1.19.0 // indirect
69-
go.opentelemetry.io/otel/sdk v1.19.0 // indirect
70-
go.opentelemetry.io/otel/sdk/metric v1.19.0 // indirect
71-
go.opentelemetry.io/otel/trace v1.19.0 // indirect
72-
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
56+
go.opentelemetry.io/contrib/instrumentation/host v0.49.0 // indirect
57+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0 // indirect
58+
go.opentelemetry.io/contrib/instrumentation/runtime v0.49.0 // indirect
59+
go.opentelemetry.io/otel v1.24.0 // indirect
60+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.24.0 // indirect
61+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.24.0 // indirect
62+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.24.0 // indirect
63+
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.24.0 // indirect
64+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.24.0 // indirect
65+
go.opentelemetry.io/otel/metric v1.24.0 // indirect
66+
go.opentelemetry.io/otel/sdk v1.24.0 // indirect
67+
go.opentelemetry.io/otel/sdk/metric v1.24.0 // indirect
68+
go.opentelemetry.io/otel/trace v1.24.0 // indirect
69+
go.opentelemetry.io/proto/otlp v1.1.0 // indirect
7370
go.uber.org/multierr v1.11.0 // indirect
74-
go.uber.org/zap v1.26.0 // indirect
75-
golang.org/x/exp v0.0.0-20230905200255-921286631fa9 // indirect
76-
golang.org/x/net v0.17.0 // indirect
77-
golang.org/x/sync v0.4.0 // indirect
78-
golang.org/x/sys v0.13.0 // indirect
79-
golang.org/x/term v0.13.0 // indirect
80-
golang.org/x/text v0.13.0 // indirect
81-
golang.org/x/time v0.3.0 // indirect
82-
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb // indirect
83-
google.golang.org/genproto/googleapis/rpc v0.0.0-20230920204549-e6e6cdab5c13 // indirect
84-
google.golang.org/grpc v1.58.3 // indirect
85-
google.golang.org/protobuf v1.31.0 // indirect
71+
go.uber.org/zap v1.27.0 // indirect
72+
golang.org/x/exp v0.0.0-20231127185646-65229373498e // indirect
73+
golang.org/x/net v0.22.0 // indirect
74+
golang.org/x/sys v0.18.0 // indirect
75+
golang.org/x/term v0.18.0 // indirect
76+
golang.org/x/text v0.14.0 // indirect
77+
google.golang.org/genproto/googleapis/api v0.0.0-20240304212257-790db918fca8 // indirect
78+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240304212257-790db918fca8 // indirect
79+
google.golang.org/grpc v1.62.1 // indirect
80+
google.golang.org/protobuf v1.33.0 // indirect
8681
gopkg.in/ini.v1 v1.67.0 // indirect
8782
gopkg.in/yaml.v3 v3.0.1 // indirect
8883
)

0 commit comments

Comments
 (0)