Skip to content
This repository was archived by the owner on Jan 8, 2026. It is now read-only.

Commit 61397c4

Browse files
authored
Merge pull request #19 from ashish493/master
fix: workflow file
2 parents 661083c + 10f5edb commit 61397c4

File tree

1 file changed

+23
-22
lines changed

1 file changed

+23
-22
lines changed

.github/workflows/ci.yaml

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,38 +19,39 @@ jobs:
1919
uses: golangci/golangci-lint-action@v2
2020
with:
2121
version: latest
22-
test:
23-
runs-on: ubuntu-latest
22+
23+
test:
24+
runs-on: ubuntu-latest
2425

25-
steps:
26-
- name: Set up Go
27-
uses: actions/setup-go@v2
28-
with:
29-
go-version: 1.16
26+
steps:
27+
- name: Set up Go
28+
uses: actions/setup-go@v2
29+
with:
30+
go-version: 1.16
3031

31-
- uses: actions/checkout@v2
32-
- name: Run Unit tests
33-
run: go test -v -coverprofile=covprofile ./...
32+
- uses: actions/checkout@v2
33+
- name: Run Unit tests
34+
run: go test -v -coverprofile=covprofile ./...
3435

35-
- name: Install goveralls
36-
env:
37-
GO111MODULE: off
38-
run: go get github.com/mattn/goveralls
36+
- name: Install goveralls
37+
env:
38+
GO111MODULE: off
39+
run: go get github.com/mattn/goveralls
3940

40-
- name: Send coverage
41-
env:
42-
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43-
run: goveralls -coverprofile=covprofile -service=github
41+
- name: Send coverage
42+
env:
43+
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
run: goveralls -coverprofile=covprofile -service=github
4445

4546
build:
46-
runs-on: ubuntu-latest
47-
steps:
47+
runs-on: ubuntu-latest
48+
steps:
4849
- uses: actions/checkout@v2
4950

5051
- name: Set up Go
5152
uses: actions/setup-go@v2
52-
with:
53-
go-version: 1.16
53+
with:
54+
go-version: 1.16
5455

5556
semantic-release:
5657
needs: [test]

0 commit comments

Comments
 (0)