lint: Increase timeout to 5m #235
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: CI | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
- uses: arnested/go-version-action@v1 | |
id: go-version | |
- name: Set up Go | |
uses: actions/setup-go@v1 | |
with: | |
go-version: ${{ steps.go-version.outputs.minimal }} | |
- name: Run lint | |
run: make lint | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: arnested/go-version-action@v1 | |
id: go-version | |
- name: Install Go ${{ steps.go-version.outputs.minimal }} | |
uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ steps.go-version.outputs.minimal }} | |
- name: Run unit test | |
run: make test |