Skip to content

Avoid the use of os.Exit in tests #1602

Avoid the use of os.Exit in tests

Avoid the use of os.Exit in tests #1602

Workflow file for this run

on:
pull_request:
push:
branches:
- main
- dev/golangci-lint
name: Lint
jobs:
golangci-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Read Go version
id: go_version
run: echo "go_version=$(cat .go-version)" >> $GITHUB_OUTPUT
- name: Install Go (${{ steps.go_version.outputs.go_version }})
uses: actions/setup-go@v4
with:
go-version: ${{ steps.go_version.outputs.go_version }}
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v3
with:
version: v1.54.2
args: --timeout=5m ./...