Skip to content

Use nhatthm/gh-actions #48

Use nhatthm/gh-actions

Use nhatthm/gh-actions #48

Workflow file for this run

---
name: lint
on:
push:
branches:
- master
pull_request:
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: nhatthm/gh-actions/checkout@master
- name: Setup
uses: nhatthm/gh-actions/find-go-version@master
- name: Install Go
uses: nhatthm/gh-actions/setup-go@master
with:
go-version: ${{ env.GO_LATEST_VERSION }}
- name: Lint
uses: nhatthm/gh-actions/golangci-lint@master