Skip to content

Commit 51fe37a

Browse files
committed
Deleting Go code
1 parent 39f32be commit 51fe37a

File tree

326 files changed

+157
-72119
lines changed

Some content is hidden

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

326 files changed

+157
-72119
lines changed

.github/actions/setup-go/action.yml

-37
This file was deleted.

.github/actions/setup-turborepo-environment/action.yml

+15-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ runs:
1717
with:
1818
extra-flags: --no-optional
1919

20-
- name: "Setup Go"
21-
uses: ./.github/actions/setup-go
22-
with:
23-
github-token: ${{ inputs.github-token }}
24-
2520
- name: "Setup Rust"
2621
uses: ./.github/actions/setup-rust
2722
with:
@@ -30,6 +25,21 @@ runs:
3025
cache-key: ${{ inputs.target }}
3126
save-cache: true
3227

28+
- name: Set Up Protoc
29+
id: set-up-protoc
30+
continue-on-error: true
31+
uses: arduino/[email protected]
32+
with:
33+
version: "3.x"
34+
repo-token: ${{ inputs.github-token }}
35+
36+
- name: Set Up Protoc (second try)
37+
if: steps.set-up-protoc.outcome == 'failure'
38+
uses: arduino/[email protected]
39+
with:
40+
version: "3.x"
41+
repo-token: ${{ inputs.github-token }}
42+
3343
- name: "Setup capnproto"
3444
uses: ./.github/actions/setup-capnproto
3545

.github/workflows/bench-turbopack.yml

+13-28
Original file line numberDiff line numberDiff line change
@@ -124,11 +124,11 @@ jobs:
124124
needs.determine_jobs.outputs.cargo_only == 'true'
125125
name: Turbopack rust check
126126
runs-on:
127-
- 'self-hosted'
128-
- 'linux'
129-
- 'x64'
130-
- 'metal'
131-
127+
- "self-hosted"
128+
- "linux"
129+
- "x64"
130+
- "metal"
131+
132132
steps:
133133
- name: Checkout
134134
uses: actions/checkout@v3
@@ -139,11 +139,6 @@ jobs:
139139
components: clippy
140140
targets: wasm32-unknown-unknown
141141

142-
- name: Setup Go
143-
uses: ./.github/actions/setup-go
144-
with:
145-
github-token: "${{ secrets.GITHUB_TOKEN }}"
146-
147142
- name: Run cargo check release
148143
run: |
149144
RUSTFLAGS="-D warnings -A deprecated" cargo groups check turbopack --features rustls-tls --release
@@ -188,22 +183,17 @@ jobs:
188183
TURBOPACK_BENCH_COUNTS: 1000,10000
189184

190185
runs-on:
191-
- 'self-hosted'
192-
- 'linux'
193-
- 'x64'
194-
- 'metal'
186+
- "self-hosted"
187+
- "linux"
188+
- "x64"
189+
- "metal"
195190

196191
name: Benchmark on ${{ matrix.bench.name }}
197192

198193
steps:
199194
- name: Checkout
200195
uses: actions/checkout@v3
201196

202-
- name: Setup Go
203-
uses: ./.github/actions/setup-go
204-
with:
205-
github-token: "${{ secrets.GITHUB_TOKEN }}"
206-
207197
- name: Setup Node.js
208198
uses: ./.github/actions/setup-node
209199

@@ -328,10 +318,10 @@ jobs:
328318
title: Linux
329319
quiet: false
330320
runs-on:
331-
- 'self-hosted'
332-
- 'linux'
333-
- 'x64'
334-
- 'metal'
321+
- "self-hosted"
322+
- "linux"
323+
- "x64"
324+
- "metal"
335325
# - name: macos
336326
# title: MacOS
337327
# quiet: true
@@ -352,11 +342,6 @@ jobs:
352342
- name: Fetch the base branch
353343
run: git -c protocol.version=2 fetch --no-tags --progress --no-recurse-submodules --depth=1 origin +${{ github.base_ref }}:base
354344

355-
- name: Setup Go
356-
uses: ./.github/actions/setup-go
357-
with:
358-
github-token: "${{ secrets.GITHUB_TOKEN }}"
359-
360345
- name: Setup Node.js
361346
uses: ./.github/actions/setup-node
362347

.github/workflows/bench-turborepo.yml

-3
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@ jobs:
2424
steps:
2525
- uses: actions/checkout@v3
2626
- uses: ./.github/actions/setup-node
27-
- uses: ./.github/actions/setup-go
28-
with:
29-
github-token: "${{ secrets.GITHUB_TOKEN }}"
3027

3128
- uses: ./.github/actions/setup-turborepo-environment
3229
with:

.github/workflows/bench-turbotrace-against-node-nft.yml

-4
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@ jobs:
3232

3333
- uses: ./.github/actions/setup-rust
3434

35-
- uses: ./.github/actions/setup-go
36-
with:
37-
github-token: "${{ secrets.GITHUB_TOKEN }}"
38-
3935
- name: Install hoisted npm dependencies
4036
working-directory: crates/turbopack/tests/node-file-trace
4137
run: |

.github/workflows/test-turbopack-rust-bench-test.yml

-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ jobs:
3333
with:
3434
save-cache: true
3535

36-
- name: Setup Go
37-
uses: ./.github/actions/setup-go
38-
with:
39-
github-token: "${{ secrets.GITHUB_TOKEN }}"
40-
4136
- name: Setup Node.js
4237
uses: ./.github/actions/setup-node
4338
with:

0 commit comments

Comments
 (0)