Skip to content

lint: Increase timeout to 5m #233

lint: Increase timeout to 5m

lint: Increase timeout to 5m #233

Workflow file for this run

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: golangci-lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.42.1
timeout: 5m
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