Skip to content

Commit 1475a13

Browse files
authored
Merge branch 'master' into go_mod_ignore
2 parents 8e6b7c7 + 689ceb3 commit 1475a13

38 files changed

+5883
-2064
lines changed

.github/workflows/coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ jobs:
1616
- uses: actions/checkout@v5
1717
with:
1818
fetch-depth: 2
19-
- uses: actions/setup-go@v5
19+
- uses: actions/setup-go@v6
2020
with:
21-
go-version: '1.24'
21+
go-version: stable
2222
- name: Run coverage
2323
run: go test -coverprofile=coverage.out -covermode=count ./...
2424
- name: Upload coverage to Codecov

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
steps:
1414
# Checkout should always be before setup-go to ensure caching is working
1515
- uses: actions/checkout@v5
16-
- uses: actions/setup-go@v5
16+
- uses: actions/setup-go@v6
1717
with:
18-
go-version: '1.24'
18+
go-version: stable
1919
- name: Generate code
2020
run: go run ./cmd/scw-doc-gen
2121
env:

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v5
1414
- name: Labeler
15-
uses: actions/labeler@v5
15+
uses: actions/labeler@v6
1616
with:
1717
sync-labels: true

.github/workflows/nightly.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ jobs:
5656
- name: Checkout
5757
uses: actions/checkout@v5
5858
- name: Install Go
59-
uses: actions/setup-go@v5
59+
uses: actions/setup-go@v6
6060
with:
61-
go-version: 1.24
61+
go-version: stable
6262
- name: Run Acceptance Tests
6363
run: go tool gotestsum --format github-actions -- -v ./internal/namespaces/${{ matrix.products }}/... -timeout=4h
6464
env:
@@ -98,9 +98,9 @@ jobs:
9898
- name: Checkout
9999
uses: actions/checkout@v5
100100
- name: Install Go
101-
uses: actions/setup-go@v5
101+
uses: actions/setup-go@v6
102102
with:
103-
go-version: 1.24
103+
go-version: stable
104104
- name: Run Sweepers
105105
run: go run -v ./cmd/scw-sweeper
106106
env:

.github/workflows/purge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
- name: Checkout
1515
uses: actions/checkout@v5
1616
- name: Install Go
17-
uses: actions/setup-go@v5
17+
uses: actions/setup-go@v6
1818
with:
19-
go-version: 1.24
19+
go-version: stable
2020
- name: Run Sweepers
2121
run: go run -v ./cmd/scw-sweeper
2222
env:

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
run: echo ${{ secrets.DOCKERHUB_PASSWORD }} | docker login -u ${{ secrets.DOCKERHUB_USERNAME }} --password-stdin
2121

2222
- name: Set up Go
23-
uses: actions/setup-go@v5
23+
uses: actions/setup-go@v6
2424
with:
25-
go-version: '1.24'
25+
go-version: stable
2626

2727
- name: Verify go.mod is tidy
2828
run: |
@@ -43,9 +43,9 @@ jobs:
4343
- goreleaser
4444
steps:
4545
- name: Install Go
46-
uses: actions/setup-go@v5
46+
uses: actions/setup-go@v6
4747
with:
48-
go-version: '1.24'
48+
go-version: stable
4949
- name: Install pnpm
5050
uses: pnpm/action-setup@v4
5151
with:

.github/workflows/unit-tests.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
with:
2525
fetch-depth: 1
2626
- name: Install Go
27-
uses: actions/setup-go@v5
27+
uses: actions/setup-go@v6
2828
with:
29-
go-version: '1.24'
29+
go-version: stable
3030
- name: Verify go.mod is tidy
3131
run: |
3232
go mod tidy
@@ -45,9 +45,9 @@ jobs:
4545
with:
4646
fetch-depth: 1
4747
- name: Install Go
48-
uses: actions/setup-go@v5
48+
uses: actions/setup-go@v6
4949
with:
50-
go-version: '1.24'
50+
go-version: stable
5151
- name: Build binaries
5252
run: ./scripts/build.sh
5353
- name: Print binaries size

.github/workflows/wasm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
with:
1818
fetch-depth: 1
1919
- name: Install Go
20-
uses: actions/setup-go@v5
20+
uses: actions/setup-go@v6
2121
with:
22-
go-version: '1.24'
22+
go-version: stable
2323
- name: Install pnpm
2424
uses: pnpm/action-setup@v4
2525
with:

cmd/scw/testdata/test-all-usage-apple-silicon-server-create-usage.golden

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,18 @@ USAGE:
66
scw apple-silicon server create [arg=value ...]
77

88
ARGS:
9-
[name=<generated>] Create a server with this given name
10-
[project-id] Project ID to use. If none is passed the default project ID will be used
11-
[type] Create a server of the given type
12-
[os-id] Create a server with the given os_id
13-
[enable-vpc] Activate the Private Network feature for this server
14-
[commitment-type] Activate commitment for this server (duration_24h | renewed_monthly | none)
15-
[public-bandwidth-bps] Public bandwidth to configure for this server. Expressed in bits per second.
16-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
9+
[name=<generated>] Create a server with this given name
10+
[project-id] Project ID to use. If none is passed the default project ID will be used
11+
[type] Create a server of the given type
12+
[os-id] Create a server with the given os_id
13+
[enable-vpc] Activate the Private Network feature for this server
14+
[commitment-type] Activate commitment for this server (duration_24h | renewed_monthly | none)
15+
[public-bandwidth-bps] Public bandwidth to configure for this server. Expressed in bits per second.
16+
[runner-configuration.name]
17+
[runner-configuration.url]
18+
[runner-configuration.token]
19+
[runner-configuration.provider] (unknown_provider | github | gitlab)
20+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
1721

1822
FLAGS:
1923
-h, --help help for create

cmd/scw/testdata/test-all-usage-apple-silicon-server-reinstall-usage.golden

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,13 @@ USAGE:
66
scw apple-silicon server reinstall <server-id ...> [arg=value ...]
77

88
ARGS:
9-
server-id UUID of the server you want to reinstall
10-
[os-id] Reinstall the server with the OS corresponding to the os_id
11-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
9+
server-id UUID of the server you want to reinstall
10+
[os-id] Reinstall the server with the OS corresponding to the os_id
11+
[runner-configuration.name]
12+
[runner-configuration.url]
13+
[runner-configuration.token]
14+
[runner-configuration.provider] (unknown_provider | github | gitlab)
15+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-3)
1216

1317
FLAGS:
1418
-h, --help help for reinstall

0 commit comments

Comments
 (0)