-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 735 Bytes
/
lint.yaml
File metadata and controls
36 lines (29 loc) · 735 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
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 Environment
run: |
make "$GITHUB_ENV"
- 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: Install Python
uses: nhatthm/gh-actions/setup-python@master
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Lint
uses: nhatthm/gh-actions/golangci-lint@master