Skip to content

lint

lint #118

Workflow file for this run

name: go-main
on:
push:
branches:
- master
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v1
- name: Linter
uses: docker://reviewdog/action-golangci-lint:v1.1.7
with:
github_token: ${{ secrets.github_token }}
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.17.1
uses: actions/setup-go@v1
with:
go-version: 1.17.1
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v1
with:
ref: master
- name: Build
run: go build -v ./...