This repository has been archived by the owner on Jun 27, 2024. It is now read-only.
fix: panic if there are no workers #872
Workflow file for this run
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: Linters | |
on: [push, pull_request] | |
jobs: | |
golangci-lint: | |
name: Golang-CI (lint) | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v5 # action page: <https://github.com/actions/setup-go> | |
with: | |
go-version: stable | |
- name: Run linter | |
uses: golangci/golangci-lint-action@v6.0.1 # Action page: <https://github.com/golangci/golangci-lint-action> | |
with: | |
version: v1.59 # without patch version | |
only-new-issues: false # show only new issues if it's a pull request | |
args: --timeout=10m --build-tags=race |