File tree Expand file tree Collapse file tree 2 files changed +17
-14
lines changed
Expand file tree Collapse file tree 2 files changed +17
-14
lines changed Original file line number Diff line number Diff line change 1- name: linters
1+ name: Lint
22on:
33 pull_request:
44permissions:
55 contents: read
66jobs:
77 lint-actions:
8+ name: Lint Actions
89 runs-on: ubuntu-latest
910 steps:
1011 - uses: actions/checkout@v4
@@ -16,13 +17,14 @@ jobs:
1617 go-version-file: 'go.mod'
1718 check-latest: true
1819
19- - name: lint actions
20+ - name: Lint actions
2021 run: |
2122 bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/main/scripts/download-actionlint.bash)
2223 make lint-actions
2324 shell: bash
2425
2526 fmt-imports:
27+ name: Fmt Imports
2628 runs-on: ubuntu-latest
2729 steps:
2830 - uses: actions/checkout@v4
@@ -34,11 +36,11 @@ jobs:
3436 go-version-file: 'go.mod'
3537 check-latest: true
3638
37- - name: format golang import statements
39+ - name: Format golang import statements
3840 run: |
3941 make fmt-imports
4042
41- - name: check-is- dirty
43+ - name: Check is dirty
4244 run: |
4345 if [[ -n $(git status --porcelain) ]]; then
4446 echo "Detected uncommitted changes."
4850 fi
4951
5052 golangci:
53+ name: GolangCI
5154 runs-on: ubuntu-latest
5255 steps:
5356 - uses: actions/checkout@v4
@@ -59,11 +62,11 @@ jobs:
5962 go-version-file: 'go.mod'
6063 check-latest: true
6164
62- - name: lint code
65+ - name: Lint code
6366 run: |
6467 make GOLANGCI_LINT_FIX=false GOLANGCI_LINT_BASE_REV=HEAD~ lint-code
6568
66- - name: check-is- dirty
69+ - name: Check is dirty
6770 run: |
6871 if [[ -n $(git status --porcelain) ]]; then
6972 echo "Detected uncommitted changes."
Original file line number Diff line number Diff line change 1- name: Integration Tests
1+ name: Test
22
33on:
44 push:
77
88jobs:
99 test-integration:
10- name: Run Integration Tests
10+ name: Integration
1111 runs-on: ubuntu-latest
1212
1313 steps:
4747 - name: Download dependencies
4848 run: go mod download
4949
50- - name: Run integration tests
50+ - name: Integration tests
5151 run: make test-integration
5252
5353 - name: Upload test results
6161 retention-days: 7
6262
6363 unit-test:
64- name: Run Unit Tests
64+ name: Unit
6565 runs-on: ubuntu-latest
6666
6767 steps:
7878 - name: Download dependencies
7979 run: go mod download
8080
81- - name: Run unit tests
81+ - name: Unit tests
8282 run: make test-unit
8383
8484 - name: Upload test results
9292 retention-days: 7
9393
9494 go-vet:
95- name: Run Go Vet
95+ name: Go Vet
9696 runs-on: ubuntu-latest
9797
9898 steps:
@@ -109,5 +109,5 @@ jobs:
109109 - name: Download dependencies
110110 run: go mod download
111111
112- - name: Run go vet
113- run: go vet ./...
112+ - name: Go vet
113+ run: go vet ./...
You can’t perform that action at this time.
0 commit comments