Skip to content

Updated the readme file. #97

Updated the readme file.

Updated the readme file. #97

Workflow file for this run

name: Build
on:
push:
branches: [ "main", "v2" ]
pull_request:
branches: [ "main", "v2" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: 1.21.5
- name: Go vet
run: go vet ./...
- name: Run Gosec
uses: securego/gosec@master
with:
args: ./...
- name: Run Revive
uses: docker://morphy/revive-action:v2
- name: Go fix
run: go fix ./...
- name: Go build
run: go build -v ./...
- name: Go test
run: go test -v -race -coverprofile=coverage.out -covermode=atomic ./asset/... ./helper/... ./strategy/... ./trend/...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3