Skip to content

Merge pull request #171 from coinbase/xiaying/rename-to-mesh #85

Merge pull request #171 from coinbase/xiaying/rename-to-mesh

Merge pull request #171 from coinbase/xiaying/rename-to-mesh #85

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
env:
go_version: 1.16
GO111MODULE: on
COVERALLS_TOKEN: ${{ secrets.COVERALLS_TOKEN }}
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.go_version }}
- run: make build
Test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.go_version }}
- run: make test
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: ${{ env.go_version }}
- uses: golangci/golangci-lint-action@v3
with:
version: latest
args: --timeout 3m
- run: make check-comments
Check-License:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
version: latest
- uses: actions/setup-go@v3
with:
go-version: ${{ env.go_version }}
- run: make check-license
Coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
version: latest
- uses: actions/setup-go@v3
with:
go-version: ${{ env.go_version }}
- run: make coverage COVERALLS_TOKEN="$COVERALLS_TOKEN"
Salus:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
version: latest
- run: make salus
Check-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
version: latest
- run: make check-format