Skip to content

Commit 3d6bcdc

Browse files
authored
Update ci.yml (#146)
# Describe Request Run CI on master. # Change Type Bug fix.
1 parent 0478218 commit 3d6bcdc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/ci.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: Build
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "master" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "master" ]
88

99
jobs:
1010

@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Go
1717
uses: actions/setup-go@v5
1818
with:
19-
go-version: 1.20.5
19+
go-version-file: ./go.mod
2020

2121
- name: Go vet
2222
run: go vet ./...
@@ -37,4 +37,6 @@ jobs:
3737

3838
- name: Upload coverage reports to Codecov
3939
uses: codecov/codecov-action@v4
40+
env:
41+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
4042

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module github.com/cinar/indicator/v2
22

3-
go 1.20
3+
go 1.22

0 commit comments

Comments
 (0)