Skip to content

Commit 609576c

Browse files
committed
style: formatted 4 spaces
1 parent 66adcd4 commit 609576c

File tree

1 file changed

+18
-19
lines changed

1 file changed

+18
-19
lines changed

.github/workflows/go.yml

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
name: Go
22

33
on:
4-
push:
5-
branches: ["main"]
6-
pull_request:
7-
branches: [ "main" ]
4+
push:
5+
branches: ['main']
6+
pull_request:
7+
branches: ['main']
88

99
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
1014

11-
build:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v3
15+
- name: Set up Go
16+
uses: actions/setup-go@v3
17+
with:
18+
go-version: 1.19
1519

16-
- name: Set up Go
17-
uses: actions/setup-go@v3
18-
with:
19-
go-version: 1.19
20+
- name: Build
21+
run: go build -v ./...
2022

21-
- name: Build
22-
run: go build -v ./...
23+
- name: Test
24+
run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
2325

24-
- name: Test
25-
run: go test -race -coverprofile=coverage.txt -covermode=atomic -v ./...
26-
27-
- name: Codecov
28-
uses: codecov/codecov-action@v3
26+
- name: Codecov
27+
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)