Skip to content

lint: Increase timeout to 5m #234

lint: Increase timeout to 5m

lint: Increase timeout to 5m #234

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
args: --timeout=10m
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