evalphobia/hierogolyph

View on GitHub
.github/workflows/test_lint.yml

Summary

Maintainability
Test Coverage
name: lint

on: [push]

jobs:
  build:
    name: Lint
    runs-on: ubuntu-latest
    steps:

    - name: Set up Go 1.13
      uses: actions/setup-go@v1
      with:
        go-version: 1.13
      id: go

    - name: setup env
      run: |
        echo "::set-env name=GOPATH::$(go env GOPATH)"
        echo "::add-path::$(go env GOPATH)/bin"
      shell: bash

    - name: Check out code
      uses: actions/checkout@v1

    - name: Lint
      run: |
        make init
        make lint