Skip to content

Commit cbcd0d0

Browse files
authored
Merge branch 'main' into fix-kafka-container-arch-suffix-bug
2 parents 03eed62 + a1e747c commit cbcd0d0

File tree

290 files changed

+7887
-6053
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

290 files changed

+7887
-6053
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// README at: https://github.com/devcontainers/templates/tree/main/src/go
33
{
44
"name": "Go",
5-
"image": "mcr.microsoft.com/devcontainers/go:1.23-bookworm",
5+
"image": "mcr.microsoft.com/devcontainers/go:1.24-trixie",
66

77
// Features to add to the dev container. More info: https://containers.dev/features.
88
// "features": {},

.github/dependabot.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ updates:
5353
- /modules/mssql
5454
- /modules/mysql
5555
- /modules/nats
56+
- /modules/nebulagraph
5657
- /modules/neo4j
5758
- /modules/ollama
5859
- /modules/openfga

.github/workflows/ci-lint-go.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
make generate
4646
git --no-pager diff && [[ 0 -eq $(git status --porcelain | wc -l) ]]
4747
48+
- name: generate project files by modulegen
49+
if: ${{ inputs.project-directory == 'modulegen' }}
50+
working-directory: ./${{ inputs.project-directory }}
51+
shell: bash
52+
run: go run . refresh
53+
4854
- name: modTidy
4955
working-directory: ./${{ inputs.project-directory }}
5056
shell: bash

.github/workflows/ci-test-go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118
- name: Decide if Sonar must be run
119119
if: ${{ matrix.platform == 'ubuntu-latest' }}
120120
run: |
121-
if [[ "1.23.x" == "${{ inputs.go-version }}" ]] && \
121+
if [[ "1.24.x" == "${{ inputs.go-version }}" ]] && \
122122
[[ "true" != "${{ inputs.rootless-docker }}" ]] && \
123123
[[ "true" != "${{ inputs.testcontainers-cloud }}" ]] && \
124124
[[ "true" != "${{ inputs.ryuk-disabled }}" ]] && \

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222

2323
- id: changed-files
2424
name: Get changed files
25-
uses: tj-actions/changed-files@823fcebdb31bb35fdf2229d9f769b400309430d0 # v46.0.3
25+
uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
2626

2727
- id: set-modified-modules
2828
name: Set all modified modules
@@ -61,7 +61,7 @@ jobs:
6161
# We don't want to fail the build the soonest but identify which modules passed and failed.
6262
fail-fast: false
6363
matrix:
64-
go-version: [1.23.x, 1.24.x]
64+
go-version: [1.24.x, 1.25.x]
6565
module: ${{ fromJSON(needs.detect-modules.outputs.modules) }}
6666
permissions:
6767
contents: read # for actions/checkout to fetch code
@@ -88,7 +88,7 @@ jobs:
8888
# We don't want to fail the build the soonest but identify which modules passed and failed.
8989
fail-fast: false
9090
matrix:
91-
go-version: [1.23.x, 1.24.x]
91+
go-version: [1.24.x, 1.25.x]
9292
uses: ./.github/workflows/ci-test-go.yml
9393
with:
9494
go-version: ${{ matrix.go-version }}
@@ -109,7 +109,7 @@ jobs:
109109
name: "Test with reaper off"
110110
strategy:
111111
matrix:
112-
go-version: [1.23.x, 1.24.x]
112+
go-version: [1.24.x, 1.25.x]
113113
uses: ./.github/workflows/ci-test-go.yml
114114
with:
115115
go-version: ${{ matrix.go-version }}
@@ -130,7 +130,7 @@ jobs:
130130
name: "Test with Rootless Docker"
131131
strategy:
132132
matrix:
133-
go-version: [1.23.x, 1.24.x]
133+
go-version: [1.24.x, 1.25.x]
134134
uses: ./.github/workflows/ci-test-go.yml
135135
with:
136136
go-version: ${{ matrix.go-version }}

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353

5454
# Initializes the CodeQL tools for scanning.
5555
- name: Initialize CodeQL
56-
uses: github/codeql-action/init@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
56+
uses: github/codeql-action/init@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
5757
with:
5858
languages: ${{ matrix.language }}
5959
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -67,7 +67,7 @@ jobs:
6767
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
6868
# If this step fails, then you should remove it and run the build manually (see below)
6969
- name: Autobuild
70-
uses: github/codeql-action/autobuild@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
70+
uses: github/codeql-action/autobuild@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
7171

7272
# ℹ️ Command-line programs to run using the OS shell.
7373
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -80,6 +80,6 @@ jobs:
8080
# ./location_of_script_within_repo/buildscript.sh
8181

8282
- name: Perform CodeQL Analysis
83-
uses: github/codeql-action/analyze@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
83+
uses: github/codeql-action/analyze@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
8484
with:
8585
category: "/language:${{matrix.language}}"

.github/workflows/docker-projects-latest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
- name: Notify to Slack on failures
6868
if: failure()
6969
id: slack
70-
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d # v2.0.0
70+
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1
7171
with:
7272
payload-templated: true
7373
payload-file-path: "./payload-slack-content.json"
@@ -127,7 +127,7 @@ jobs:
127127
- name: Notify to Slack on failures
128128
if: failure()
129129
id: slack
130-
uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d #v2.0.0
130+
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a #v2.1.1
131131
with:
132132
payload-templated: true
133133
payload-file-path: "./payload-slack-content.json"

.github/workflows/scorecards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ jobs:
5151

5252
# required for Code scanning alerts
5353
- name: "Upload SARIF results to code scanning"
54-
uses: github/codeql-action/upload-sarif@d6bbdef45e766d081b84a2def353b0055f728d3e # v3.29.3
54+
uses: github/codeql-action/upload-sarif@192325c86100d080feab897ff886c34abd4c83a3 # v3.30.3
5555
with:
5656
sarif_file: results.sarif

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ TEST-*.xml
2020

2121
# Environment variables
2222
.env
23+
24+
# Coverage files
25+
coverage.out

.golangci.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ linters:
1212
enable:
1313
- errorlint
1414
- gocritic
15+
- govet
1516
- misspell
1617
- nakedret
1718
- nolintlint
@@ -32,6 +33,11 @@ linters:
3233
comparison: true
3334
errorf: true
3435
errorf-multi: true
36+
govet:
37+
disable:
38+
- fieldalignment
39+
- shadow
40+
enable-all: true
3541
revive:
3642
rules:
3743
- name: blank-imports
@@ -85,5 +91,6 @@ output:
8591
formats:
8692
text:
8793
path: stdout
88-
path-prefix: .
94+
run:
95+
relative-path-mode: gitroot
8996
version: "2"

0 commit comments

Comments
 (0)