Skip to content

Commit 9bdb838

Browse files
committed
chore(CI): merge lint and testing
Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 10ba89c commit 9bdb838

File tree

2 files changed

+16
-33
lines changed

2 files changed

+16
-33
lines changed

.github/workflows/testing.yml renamed to .github/workflows/go.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,23 @@ name: Run Testing
22
on: push
33

44
jobs:
5+
lint:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Setup go
9+
uses: actions/setup-go@v2
10+
with:
11+
go-version: '^1.16'
12+
- name: Checkout repository
13+
uses: actions/checkout@v2
14+
- name: Setup golangci-lint
15+
uses: golangci/golangci-lint-action@v2
16+
with:
17+
version: v1.44.0
18+
args: --verbose
19+
520
# Label of the container job
6-
runner-job:
21+
test:
722
# You must use a Linux environment when using service containers or container jobs
823
runs-on: ubuntu-latest
924

.github/workflows/lint.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)