fix linter errors #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: [push, pull_request] | |
jobs: | |
lint-main: | |
strategy: | |
matrix: | |
platform: ["ubuntu-latest"] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Lint main.go | |
run: make lint-go-main | |
lint-goroutine: | |
strategy: | |
matrix: | |
platform: ["ubuntu-latest"] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Lint go-routine.go | |
run: make lint-go-routine |