Skip to content

Commit b646145

Browse files
committed
wip
1 parent 9db6463 commit b646145

File tree

1 file changed

+36
-40
lines changed

1 file changed

+36
-40
lines changed

.github/workflows/run-tests.yml

Lines changed: 36 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,49 +4,47 @@ on:
44
pull_request
55

66
jobs:
7-
lint:
8-
concurrency:
9-
group: lint-golangci-${{ github.head_ref || github.ref_name }}
10-
cancel-in-progress: true
11-
runs-on: ubuntu-latest
12-
steps:
13-
- name: checkout
14-
uses: actions/checkout@v3
15-
- name: setup-go
16-
uses: actions/setup-go@v3
17-
with:
18-
go-version: '1.20'
19-
- name: golangci-lint
20-
uses: golangci/golangci-lint-action@v2
21-
with:
22-
version: v1.52.2
23-
code-format-check:
24-
concurrency:
25-
group: lint-autoformat-${{ github.head_ref || github.ref_name }}
26-
cancel-in-progress: true
27-
runs-on: ubuntu-latest
28-
steps:
29-
- name: checkout
30-
uses: actions/checkout@v3
31-
- name: setup-go
32-
uses: actions/setup-go@v3
33-
with:
34-
go-version: '1.20'
35-
- name: Install utilities
36-
run: |
37-
go install mvdan.cc/[email protected]
38-
go install github.com/rinchsan/gosimports/cmd/[email protected]
39-
- name: format all files with auto-formatter
40-
run: bash ./.github/scripts/format-all-go-code.sh "$PWD"
41-
- name: Check repository diff
42-
run: bash ./.github/scripts/check-work-copy-equals-to-committed.sh "auto-format broken"
7+
# lint:
8+
# concurrency:
9+
# group: lint-golangci-${{ github.head_ref || github.ref_name }}
10+
# cancel-in-progress: true
11+
# runs-on: ubuntu-latest
12+
# steps:
13+
# - name: checkout
14+
# uses: actions/checkout@v3
15+
# - name: setup-go
16+
# uses: actions/setup-go@v3
17+
# with:
18+
# go-version: '1.20'
19+
# - name: golangci-lint
20+
# uses: golangci/golangci-lint-action@v2
21+
# with:
22+
# version: v1.52.2
23+
# code-format-check:
24+
# concurrency:
25+
# group: lint-autoformat-${{ github.head_ref || github.ref_name }}
26+
# cancel-in-progress: true
27+
# runs-on: ubuntu-latest
28+
# steps:
29+
# - name: checkout
30+
# uses: actions/checkout@v3
31+
# - name: setup-go
32+
# uses: actions/setup-go@v3
33+
# with:
34+
# go-version: '1.20'
35+
# - name: Install utilities
36+
# run: |
37+
# go install mvdan.cc/[email protected]
38+
# go install github.com/rinchsan/gosimports/cmd/[email protected]
39+
# - name: format all files with auto-formatter
40+
# run: bash ./.github/scripts/format-all-go-code.sh "$PWD"
41+
# - name: Check repository diff
42+
# run: bash ./.github/scripts/check-work-copy-equals-to-committed.sh "auto-format broken"
4343
run-unit-tests:
4444
concurrency:
4545
group: run-unit-tests-${{ github.head_ref || github.ref_name }}
4646
cancel-in-progress: true
4747
runs-on: ubuntu-latest
48-
outputs:
49-
result: ${{ steps.run-unit-tests.outputs.result }}
5048
steps:
5149
- name: checkout
5250
uses: actions/checkout@v3
@@ -87,8 +85,6 @@ jobs:
8785
needs:
8886
- run-unit-tests
8987
runs-on: ubuntu-latest
90-
outputs:
91-
result: ${{ steps.run-e2e-tests.outputs.result }}
9288
steps:
9389
- name: Maximize build space
9490
uses: AdityaGarg8/[email protected]

0 commit comments

Comments
 (0)