Skip to content

Commit 638a3fd

Browse files
committed
wip
1 parent b646145 commit 638a3fd

File tree

1 file changed

+36
-39
lines changed

1 file changed

+36
-39
lines changed

.github/workflows/run-tests.yml

Lines changed: 36 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,42 @@ 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 }}
@@ -165,9 +165,6 @@ jobs:
165165
- name: setup-gotestsum
166166
run: |
167167
go install gotest.tools/[email protected]
168-
# - name: run-e2e-with-immediate-logs
169-
# run: |
170-
# go test -v -timeout 3600s -p 1 ./e2e/... -args -ginkgo.vv
171168
- name: run-e2e-tests
172169
id: run-e2e-tests
173170
run: |

0 commit comments

Comments
 (0)