Skip to content

Commit 8f1ce5e

Browse files
committed
feat: Only lint for one of the go versions, test with all
1 parent a111714 commit 8f1ce5e

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,20 +18,19 @@ jobs:
1818
with:
1919
go-version: ${{ matrix.go-version }}
2020
- name: Install project tools and dependencies
21-
if: ${{ matrix.go-version != '1.18' }}
21+
if: ${{ matrix.go-version == '1.23' }}
2222
run: make project-tools
2323
- name: Lint
24-
if: ${{ matrix.go-version != '1.18' }}
24+
if: ${{ matrix.go-version == '1.23' }}
2525
run: |
2626
make lint
2727
scripts/check-sync-tidy.sh
2828
- name: Lint scripts
29-
if: ${{ matrix.go-version == '1.22' }}
29+
if: ${{ matrix.go-version == '1.23' }}
3030
run: |
3131
make lint-scripts
3232
- name: Test
3333
run: make test
3434
- name: Test scripts
35-
if: ${{ matrix.go-version == '1.22' }}
36-
run: |
37-
make test-scripts
35+
if: ${{ matrix.go-version >= '1.19' }}
36+
run: make test-scripts

0 commit comments

Comments
 (0)