Skip to content

Commit 6d7ff3f

Browse files
authored
Merge branch 'main' into gdennis/improve-error-reporting
2 parents 2501edf + af1e755 commit 6d7ff3f

File tree

224 files changed

+16186
-19568
lines changed

Some content is hidden

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

224 files changed

+16186
-19568
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ charset = utf-8
88
trim_trailing_whitespace = true
99
indent_style = tab
1010

11-
[*.{md,mdx,yml,yaml,json,toml,htm,html,js,ts,css,svg,sh,bash,fish}]
11+
[*.{md,mdx,yml,yaml,json,toml,htm,html,js,ts,vue,css,svg,sh,bash,fish}]
1212
indent_style = space
1313
indent_size = 2

.github/workflows/issue-awaiting-response.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
issue-awaiting-response:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v7
11+
- uses: actions/github-script@v8
1212
with:
1313
github-token: ${{secrets.GH_PAT}}
1414
script: |

.github/workflows/issue-closed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
issue-closed:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v7
11+
- uses: actions/github-script@v8
1212
with:
1313
github-token: ${{secrets.GH_PAT}}
1414
script: |

.github/workflows/issue-experiment.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
if: github.event.label.name == format('status{0} proposed', ':')
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/github-script@v7
12+
- uses: actions/github-script@v8
1313
with:
1414
github-token: ${{secrets.GH_PAT}}
1515
script: |
@@ -23,7 +23,7 @@ jobs:
2323
if: github.event.label.name == format('status{0} draft', ':')
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: actions/github-script@v7
26+
- uses: actions/github-script@v8
2727
with:
2828
github-token: ${{secrets.GH_PAT}}
2929
script: |
@@ -37,7 +37,7 @@ jobs:
3737
if: github.event.label.name == format('status{0} candidate', ':')
3838
runs-on: ubuntu-latest
3939
steps:
40-
- uses: actions/github-script@v7
40+
- uses: actions/github-script@v8
4141
with:
4242
github-token: ${{secrets.GH_PAT}}
4343
script: |
@@ -51,7 +51,7 @@ jobs:
5151
if: github.event.label.name == format('status{0} stable', ':')
5252
runs-on: ubuntu-latest
5353
steps:
54-
- uses: actions/github-script@v7
54+
- uses: actions/github-script@v8
5555
with:
5656
github-token: ${{secrets.GH_PAT}}
5757
script: |
@@ -65,7 +65,7 @@ jobs:
6565
if: github.event.label.name == format('status{0} released', ':')
6666
runs-on: ubuntu-latest
6767
steps:
68-
- uses: actions/github-script@v7
68+
- uses: actions/github-script@v8
6969
with:
7070
github-token: ${{secrets.GH_PAT}}
7171
script: |
@@ -85,7 +85,7 @@ jobs:
8585
if: github.event.label.name == format('status{0} abandoned', ':')
8686
runs-on: ubuntu-latest
8787
steps:
88-
- uses: actions/github-script@v7
88+
- uses: actions/github-script@v8
8989
with:
9090
github-token: ${{secrets.GH_PAT}}
9191
script: |
@@ -105,7 +105,7 @@ jobs:
105105
if: github.event.label.name == format('status{0} superseded', ':')
106106
runs-on: ubuntu-latest
107107
steps:
108-
- uses: actions/github-script@v7
108+
- uses: actions/github-script@v8
109109
with:
110110
github-token: ${{secrets.GH_PAT}}
111111
script: |

.github/workflows/issue-needs-triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
issue-needs-triage:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/github-script@v7
11+
- uses: actions/github-script@v8
1212
with:
1313
github-token: ${{secrets.GH_PAT}}
1414
script: |

.github/workflows/lint.yml

Lines changed: 7 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ jobs:
1313
name: Lint
1414
strategy:
1515
matrix:
16-
go-version: [1.23.x, 1.24.x]
16+
go-version: [1.24.x, 1.25.x]
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/setup-go@v5
19+
- uses: actions/setup-go@v6
2020
with:
2121
go-version: ${{matrix.go-version}}
2222

23-
- uses: actions/checkout@v4
23+
- uses: actions/checkout@v5
2424

2525
- name: golangci-lint
2626
uses: golangci/golangci-lint-action@v8
@@ -30,45 +30,14 @@ jobs:
3030
lint-jsonschema:
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/setup-python@v5
33+
- uses: actions/setup-python@v6
3434
with:
35-
python-version: 3.12
35+
python-version: 3.14
3636

37-
- uses: actions/checkout@v4
37+
- uses: actions/checkout@v5
3838

3939
- name: install check-jsonschema
4040
run: python -m pip install 'check-jsonschema==0.27.3'
4141

4242
- name: check-jsonschema (metaschema)
43-
run: check-jsonschema --check-metaschema website/static/schema.json
44-
check_doc:
45-
runs-on: ubuntu-latest
46-
steps:
47-
- uses: actions/checkout@v4
48-
- name: Get changed files in the docs folder
49-
id: changed-files-specific
50-
uses: tj-actions/changed-files@v46
51-
with:
52-
files: website/versioned_docs/**
53-
54-
- uses: actions/github-script@v7
55-
if: steps.changed-files-specific.outputs.any_changed == 'true'
56-
with:
57-
script: |
58-
core.setFailed('website/versioned_docs has changed. Instead you need to update the docs in the website/docs folder.')
59-
check_schema:
60-
runs-on: ubuntu-latest
61-
steps:
62-
- uses: actions/checkout@v4
63-
- name: Get changed files in the docs folder
64-
id: changed-files-specific
65-
uses: tj-actions/changed-files@v46
66-
with:
67-
files: |
68-
website/static/schema.json
69-
website/static/schema-taskrc.json
70-
- uses: actions/github-script@v7
71-
if: steps.changed-files-specific.outputs.any_changed == 'true'
72-
with:
73-
script: |
74-
core.setFailed('schema.json or schema-taskrc.json has changed. Instead you need to update next-schema.json or next-schema-taskrc.json.')
43+
run: check-jsonschema --check-metaschema website/src/public/schema.json
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release nightly
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: 0 0 * * *
7+
jobs:
8+
goreleaser:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v5
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Set up Go
17+
uses: actions/setup-go@v6
18+
with:
19+
go-version: 1.25.x
20+
21+
- name: Run GoReleaser
22+
uses: goreleaser/goreleaser-action@v6
23+
with:
24+
distribution: goreleaser-pro
25+
version: latest
26+
args: release --clean --nightly -f .goreleaser-nightly.yml
27+
env:
28+
GITHUB_TOKEN: ${{secrets.GH_PAT}}
29+
GORELEASER_KEY: ${{secrets.GORELEASER_KEY}}
30+
CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}}

.github/workflows/release.yml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,39 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Checkout
13-
uses: actions/checkout@v4
13+
uses: actions/checkout@v5
1414
with:
1515
fetch-depth: 0
1616

1717
- name: Set up Go
18-
uses: actions/setup-go@v5
18+
uses: actions/setup-go@v6
1919
with:
20-
go-version: 1.24.x
20+
go-version: 1.25.x
21+
22+
- name: npm-login
23+
run: |
24+
npm config set '//registry.npmjs.org/:_authToken'=${{ secrets.NPM_TOKEN }}
25+
- name: Install Task
26+
uses: go-task/setup-task@v1
27+
28+
- name: Install pnpm
29+
uses: pnpm/action-setup@v4
30+
with:
31+
package_json_file: 'website/package.json'
32+
run_install: 'true'
2133

2234
- name: Run GoReleaser
2335
uses: goreleaser/goreleaser-action@v6
2436
with:
2537
distribution: goreleaser-pro
2638
version: latest
27-
args: release --clean
39+
args: release --clean --draft
2840
env:
2941
GITHUB_TOKEN: ${{secrets.GH_PAT}}
3042
GORELEASER_KEY: ${{secrets.GORELEASER_KEY}}
43+
CLOUDSMITH_TOKEN: ${{secrets.CLOUDSMITH_TOKEN}}
44+
45+
- name: Deploy Website
46+
shell: bash
47+
run: |
48+
task website:deploy:prod

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@ jobs:
1313
name: Test
1414
strategy:
1515
matrix:
16-
go-version: [1.23.x, 1.24.x]
16+
go-version: [1.24.x, 1.25.x]
1717
platform: [ubuntu-latest, macos-latest, windows-latest]
1818
runs-on: ${{matrix.platform}}
1919
steps:
2020
- name: Set up Go ${{matrix.go-version}}
21-
uses: actions/setup-go@v5
21+
uses: actions/setup-go@v6
2222
with:
2323
go-version: ${{matrix.go-version}}
2424
id: go
2525

2626
- name: Check out code into the Go module directory
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Download Go modules
3030
run: go mod download

.goreleaser-nightly.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
2+
version: 2
3+
pro: true
4+
5+
release:
6+
name_template: 'v{{.Version}}'
7+
8+
nightly:
9+
publish_release: true
10+
keep_single_release: true
11+
version_template: "{{incminor .Version}}-nightly"
12+
13+
includes:
14+
- from_file:
15+
path: ./.goreleaser.yml

0 commit comments

Comments
 (0)