mirror of
https://github.com/valentineus/go-metatrader4.git
synced 2025-06-08 02:03:34 +03:00
Integrate Codecov service
This commit is contained in:
parent
949d77e2cf
commit
711a5a0348
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24.3'
|
||||
go-version: "1.24.3"
|
||||
- name: Cache Go modules
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
@ -37,6 +37,10 @@ jobs:
|
||||
run: go vet ./...
|
||||
- name: Run tests
|
||||
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
|
||||
- name: Upload coverage reports
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
@ -47,7 +51,7 @@ jobs:
|
||||
- name: Set up Go
|
||||
uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: '1.24.3'
|
||||
go-version: "1.24.3"
|
||||
- name: Run golangci-lint
|
||||
uses: golangci/golangci-lint-action@v8
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user