diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 247298d..b47520f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,9 +2,9 @@ name: Build on: push: - branches: [ "main" ] + branches: [ "master" ] pull_request: - branches: [ "main" ] + branches: [ "master" ] jobs: @@ -16,7 +16,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v5 with: - go-version: 1.20.5 + go-version-file: ./go.mod - name: Go vet run: go vet ./... @@ -37,4 +37,6 @@ jobs: - name: Upload coverage reports to Codecov uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/go.mod b/go.mod index 65c5464..2c73e48 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/cinar/indicator/v2 -go 1.20 +go 1.22