|
4 | 4 | pull_request |
5 | 5 |
|
6 | 6 | 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" |
43 | 43 | run-unit-tests: |
44 | 44 | concurrency: |
45 | 45 | group: run-unit-tests-${{ github.head_ref || github.ref_name }} |
@@ -165,9 +165,6 @@ jobs: |
165 | 165 | - name: setup-gotestsum |
166 | 166 | run: | |
167 | 167 | 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 |
171 | 168 | - name: run-e2e-tests |
172 | 169 | id: run-e2e-tests |
173 | 170 | run: | |
|
0 commit comments