Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit c745aaf

Browse files
authored
Merge branch 'main' into pr-apply-table-resolver-decision
2 parents 9c5a02e + 7e78e1b commit c745aaf

Some content is hidden

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

56 files changed

+4013
-1725
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
{"name": "github.com/pascaldekloe/goe", "licenceType": "Public Domain"}
22
{"name": "github.com/pascaldekloe/name", "licenceType": "Public Domain"}
3+
{"name": "github.com/mrjones/oauth", "licenceFile": "MIT-LICENSE.txt"}

.github/workflows/build-quesma-docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
uses: actions/setup-go@v5
4646
with:
4747
cache-dependency-path: ${{ matrix.module }}/go.sum
48-
go-version: '1.22'
48+
go-version: '1.23'
4949

5050
- name: Log in to Docker Hub
5151
uses: docker/login-action@v3

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
uses: actions/setup-go@v5
2626
with:
2727
cache-dependency-path: smoke-test/go.sum
28-
go-version: '1.22'
28+
go-version: '1.23'
2929

3030
- name: Download images
3131
uses: actions/download-artifact@v4

.github/workflows/generate-notice.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-go@v5
2727
with:
2828
cache-dependency-path: ${{ matrix.module }}/go.sum
29-
go-version: '1.22'
29+
go-version: '1.23'
3030

3131
- name: Install go-licence-detector
3232
working-directory: ${{ matrix.module }}

.github/workflows/integration-tests.yml

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/setup-go@v5
2727
with:
2828
cache-dependency-path: smoke-test/go.sum
29-
go-version: '1.22'
29+
go-version: '1.23'
3030

3131
- name: Download images
3232
uses: actions/download-artifact@v4
@@ -47,29 +47,49 @@ jobs:
4747
id: get_author
4848
run: echo "::set-output name=author::$(git log -1 --pretty=format:'%an <%ae> sha1={%H}')"
4949

50+
- name: License Header Verification
51+
working-directory: ci/it
52+
run: |
53+
LICENSE_COMMENT="// Copyright Quesma, licensed under the Elastic License 2.0.
54+
// SPDX-License-Identifier: Elastic-2.0"
55+
failed=false
56+
while IFS= read -r -d '' file; do
57+
file_content=$(< "$file")
58+
59+
if [[ "$file_content" != "$LICENSE_COMMENT"* ]]; then
60+
echo "License header missing or incorrect in file: $file"
61+
failed=true
62+
fi
63+
done < <(find . -type f -name "*.go" -print0)
64+
if [ "$failed" = true ]; then
65+
exit 1
66+
fi
67+
5068
- name: Run integration tests
5169
working-directory: ci/it
5270
run: go test -v
5371

5472
- name: Send Slack notification on failure
5573
if: failure()
56-
uses: slackapi/slack-github-action@v1.23.0
74+
uses: slackapi/slack-github-action@v1.27.0
5775
with:
5876
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
5977
slack-message: |
60-
:exclamation: *Integration tests failed.* :exclamation: @channel
61-
Last commit by: ${{ steps.get_author.outputs.author }}
78+
:exclamation: *Integration tests failed.* :exclamation: <!channel>
79+
*Last commit by:* ${{ steps.get_author.outputs.author }}
80+
*Workflow run URL:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
6281
env:
6382
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
6483

6584
- name: Send Slack notification on success
6685
if: success()
67-
uses: slackapi/slack-github-action@v1.23.0
86+
uses: slackapi/slack-github-action@v1.27.0
6887
with:
6988
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
7089
slack-message: |
7190
:white_check_mark: *Integration tests passed.* Good job team!
72-
Last commit by: ${{ steps.get_author.outputs.author }}
91+
*Last commit by:* ${{ steps.get_author.outputs.author }}
92+
*Workflow run URL:* ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
7393
env:
7494
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
7595

.github/workflows/pipeline.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: actions/setup-go@v5
2929
with:
3030
cache-dependency-path: ${{ matrix.module }}/go.sum
31-
go-version: '1.22'
31+
go-version: '1.23'
3232

3333
- name: gofmt
3434
working-directory: ${{ matrix.module }}
@@ -57,7 +57,7 @@ jobs:
5757

5858
- uses: dominikh/[email protected]
5959
with:
60-
version: "2023.1.6"
60+
version: "2024.1.1"
6161
install-go: false
6262
working-directory: ${{ matrix.module }}
6363

@@ -87,7 +87,7 @@ jobs:
8787
uses: actions/setup-go@v5
8888
with:
8989
cache-dependency-path: ${{ matrix.module }}/go.sum
90-
go-version: '1.22'
90+
go-version: '1.23'
9191

9292
- name: Build and export
9393
uses: docker/build-push-action@v6
@@ -117,7 +117,7 @@ jobs:
117117
uses: actions/setup-go@v5
118118
with:
119119
cache-dependency-path: smoke-test/go.sum
120-
go-version: '1.22'
120+
go-version: '1.23'
121121

122122
- name: Download images
123123
uses: actions/download-artifact@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: actions/setup-go@v5
4141
with:
4242
cache-dependency-path: ${{ matrix.module }}/go.sum
43-
go-version: '1.22'
43+
go-version: '1.23'
4444

4545
- name: Login to GCR (only for build running on `main` branch)
4646
uses: docker/login-action@v3

0 commit comments

Comments
 (0)