Skip to content

CI

CI #168

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: "42 6 * * 0"
jobs:
build:
environment: "CI Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ">=1.17.4"
- name: Test
env:
ETHERSCAN_API_KEY: ${{ secrets.ETHERSCAN_API_KEY }}
run: go test -v -coverprofile=coverage.txt -covermode=count ./...
- name: Codecov
uses: codecov/[email protected]
- name: golangci-lint
uses: golangci/golangci-lint-action@v2