Skip to content

Commit 1f2c893

Browse files
committed
Fix CI lint
1 parent 9936ae7 commit 1f2c893

File tree

2 files changed

+5
-21
lines changed

2 files changed

+5
-21
lines changed

.github/workflows/golangci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
with:
2020
go-version: '1.19'
2121
- uses: actions/checkout@v3
22-
- name: golangci-lint
23-
uses: golangci/golangci-lint-action@v3
22+
- uses: golangci/golangci-lint-action@v3
2423
with:
25-
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
2624
version: v1.49
27-
args: --timeout 10m0s
25+
- name: lint
26+
run: |
27+
make lint-all

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: Unit Test
22
on:
33
pull_request:
44
push:
@@ -15,22 +15,6 @@ jobs:
1515
with:
1616
go-version: '1.19'
1717
- uses: actions/checkout@v3
18-
- uses: technote-space/get-diff-action@v6
19-
with:
20-
PATTERNS: |
21-
**/**.go
22-
"!test/"
23-
go.mod
24-
go.sum
25-
Makefile
26-
- name: Get data from Go build cache
27-
uses: actions/cache@v3
28-
with:
29-
path: |
30-
~/go/pkg/mod
31-
~/.cache/golangci-lint
32-
~/.cache/go-build
33-
key: ${{ runner.os }}-go-build-${{ hashFiles('**/go.sum') }}
3418
- name: Run Go Tests
3519
run: |
3620
make test-all

0 commit comments

Comments
 (0)