Skip to content

Commit 2e04372

Browse files
committed
chore: sync fork
2 parents 64ce2e5 + 7cee02c commit 2e04372

273 files changed

Lines changed: 9782 additions & 18014 deletions

File tree

Some content is hidden

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

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/vscode/devcontainers/go:1-1.21
1+
FROM mcr.microsoft.com/vscode/devcontainers/go:1-1.23
22

33
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
44

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ body:
1818
- azure
1919
- bitbucket
2020
- digitalocean
21+
- entra-id
2122
- facebook
2223
- gitea
2324
- github

.github/ISSUE_TEMPLATE/configuration-support.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ body:
1818
- azure
1919
- bitbucket
2020
- digitalocean
21+
- entra-id
2122
- facebook
2223
- gitea
2324
- github

.github/ISSUE_TEMPLATE/feature-request.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ body:
3434
- azure
3535
- bitbucket
3636
- digitalocean
37+
- entra-id
3738
- facebook
3839
- gitea
3940
- github
Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,31 @@ on:
44
push:
55
branches:
66
- '**'
7-
# - $default-branch
87
pull_request:
98
branches:
109
- '**'
11-
# - $default-branch
12-
1310
jobs:
1411
build:
12+
runs-on: ubuntu-latest
1513
env:
1614
COVER: true
17-
runs-on: ubuntu-latest
1815
steps:
19-
2016
- name: Check out code
2117
uses: actions/checkout@v4
2218

2319
- name: Set up Go
2420
uses: actions/setup-go@v5
2521
with:
26-
# renovate: datasource=golang-version depName=golang
27-
go-version: 1.21.6
22+
go-version-file: go.mod
2823
id: go
2924

3025
- name: Get dependencies
3126
env:
3227
# renovate: datasource=github-tags depName=golangci/golangci-lint
33-
GOLANGCI_LINT_VERSION: v1.55.2
34-
# renovate: datasource=github-tags depName=codeclimate/test-reporter
35-
CODECLIMATE_VERSION: v0.11.1
28+
GOLANGCI_LINT_VERSION: v1.64.8
3629
run: |
3730
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
38-
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION}-linux-amd64 > ./cc-test-reporter
31+
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
3932
chmod +x ./cc-test-reporter
4033
4134
- name: Verify Code Generation
@@ -47,9 +40,16 @@ jobs:
4740
make lint
4841
4942
- name: Build
43+
if: (!startsWith(github.head_ref, 'release'))
5044
run: |
5145
make build
5246
47+
# For release testing
48+
- name: Build All
49+
if: github.base_ref == 'master' && startsWith(github.head_ref, 'release')
50+
run: |
51+
make release
52+
5353
- name: Test
5454
env:
5555
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
@@ -59,7 +59,6 @@ jobs:
5959
docker:
6060
runs-on: ubuntu-latest
6161
steps:
62-
6362
- name: Check out code
6463
uses: actions/checkout@v4
6564

@@ -71,5 +70,12 @@ jobs:
7170
uses: docker/setup-buildx-action@v3
7271

7372
- name: Docker Build
73+
if: (!startsWith(github.head_ref, 'release'))
7474
run: |
7575
make docker
76+
77+
# For release testing
78+
- name: Docker Build All
79+
if: github.base_ref == 'master' && startsWith(github.head_ref, 'release')
80+
run: |
81+
make docker-all

.github/workflows/codeql.yml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,22 @@ name: "Code scanning - action"
22

33
on:
44
push:
5-
branches: [master, ]
5+
branches:
6+
- master
7+
paths-ignore:
8+
- '.devcontainer/**'
9+
- '.vscode/**'
10+
- 'contrib/**'
11+
- 'docs/**'
612
pull_request:
713
# The branches below must be a subset of the branches above
8-
branches: [master]
14+
branches:
15+
- master
16+
paths-ignore:
17+
- '.devcontainer/**'
18+
- '.vscode/**'
19+
- 'contrib/**'
20+
- 'docs/**'
921
schedule:
1022
- cron: '0 15 * * 2'
1123

@@ -21,15 +33,6 @@ jobs:
2133
steps:
2234
- name: Checkout repository
2335
uses: actions/checkout@v4
24-
with:
25-
# We must fetch at least the immediate parents so that if this is
26-
# a pull request then we can checkout the head.
27-
fetch-depth: 2
28-
29-
# If this run was triggered by a pull request event, then checkout
30-
# the head of the pull request instead of the merge commit.
31-
- run: git checkout HEAD^2
32-
if: ${{ github.event_name == 'pull_request' }}
3336

3437
# Initializes the CodeQL tools for scanning.
3538
- name: Initialize CodeQL

.github/workflows/create-release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
VERSION=${FULL_VERSION%.*}.x
6767
6868
if [ ! -d "versioned_docs/version-${VERSION}" ]; then
69-
npm ci
69+
npm install
7070
npm run docusaurus docs:version ${VERSION}
7171
7272
git add .
@@ -90,6 +90,8 @@ jobs:
9090
## Important Notes
9191
9292
## Breaking Changes
93+
94+
## Changes since v${VERSION}
9395
EOF
9496
9597
echo -e "$(cat /tmp/CHANGELOG.prepend)\n\n$(cat CHANGELOG.md)" > CHANGELOG.md
Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,17 @@ jobs:
1818

1919
- name: Setup Pages
2020
id: pages
21-
uses: actions/configure-pages@v4
21+
uses: actions/configure-pages@v5
2222

2323
- uses: actions/setup-node@v4
2424
with:
2525
# renovate: datasource=node-version depName=node
26-
node-version: 20
27-
cache: npm
28-
cache-dependency-path: "./docs/package-lock.json"
26+
node-version: 22
2927

3028
- name: Test Build
3129
working-directory: ./docs
3230
run: |
33-
npm ci
31+
npm install
3432
npm run build
3533
3634
build-docs:
@@ -42,12 +40,12 @@ jobs:
4240
- uses: actions/setup-node@v4
4341
with:
4442
# renovate: datasource=node-version depName=node
45-
node-version: 20
43+
node-version: 22
4644

4745
- name: Build docusaurus
4846
working-directory: ./docs
4947
run: |
50-
npm ci
48+
npm install
5149
npm run build
5250
5351
- name: Upload artifact

.github/workflows/publish-release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ jobs:
4949

5050
- name: Get dependencies
5151
env:
52-
GOLANGCI_LINT_VERSION: v1.55.2
52+
# renovate: datasource=github-tags depName=golangci/golangci-lint
53+
GOLANGCI_LINT_VERSION: v1.64.8
5354
run: |
5455
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION}
5556
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter

0 commit comments

Comments
 (0)