Skip to content

Commit 1c25ef6

Browse files
committed
fix workflows
1 parent e486552 commit 1c25ef6

File tree

3 files changed

+16
-19
lines changed

3 files changed

+16
-19
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,18 @@ on:
99
- main
1010
- master
1111
jobs:
12-
test:
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v4
16-
- uses: actions/setup-go@v5
17-
with:
18-
go-version: stable
19-
- name: Install dependencies
20-
run: go mod tidy
21-
- name: Run tests with coverage
22-
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
23-
- name: Check coverage
24-
uses: vladopajic/go-test-coverage@v2
25-
with:
26-
config: ./.testcoverage.yml
12+
test:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: actions/setup-go@v5
17+
with:
18+
go-version: stable
19+
- name: Install dependencies
20+
run: go mod tidy
21+
- name: Run tests with coverage
22+
run: go test ./... -coverprofile=./cover.out -covermode=atomic -coverpkg=./...
23+
- name: Check coverage
24+
uses: vladopajic/go-test-coverage@v2
25+
with:
26+
config: ./.testcoverage.yml

go.mod

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
module github.com/redis-developer/go-redis-entraid
22

33
go 1.18
4-
5-

version.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
package redis-entraid
1+
package redis
22

33
// Version is the current release version.
44
func Version() string {
55
return "0.0.1"
66
}
7-

0 commit comments

Comments
 (0)