Skip to content

Commit 8212ade

Browse files
ci: update CI workflow configuration
- Updated Go linting action version - Adjusted spacing and indentation for readability
1 parent 565c10b commit 8212ade

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/ci.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,36 @@ name: CI
22

33
on:
44
push:
5-
branches: [ main, master ]
5+
branches: [main, master]
66
pull_request:
7-
branches: [ main, master ]
7+
branches: [main, master]
88
workflow_dispatch:
99

1010
jobs:
1111
test:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v4
14+
- uses: actions/checkout@v4
1515

16-
- uses: actions/setup-go@v5
17-
with:
18-
go-version-file: go.mod
19-
cache: true
16+
- uses: actions/setup-go@v5
17+
with:
18+
go-version-file: go.mod
19+
cache: true
2020

21-
- run: go build ./...
22-
- run: go test -v ./...
21+
- run: go build ./...
22+
- run: go test -v ./...
2323

2424
lint:
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@v4
27+
- uses: actions/checkout@v4
2828

29-
- uses: actions/setup-go@v5
30-
with:
31-
go-version-file: go.mod
32-
cache: true
29+
- uses: actions/setup-go@v5
30+
with:
31+
go-version-file: go.mod
32+
cache: true
3333

34-
- uses: golangci/golangci-lint-action@v7
35-
with:
36-
version: v2.10.0
37-
34+
- uses: golangci/golangci-lint-action@v7
35+
with:
36+
version: v2.11.4
37+

0 commit comments

Comments
 (0)