Skip to content

e2breadme

e2breadme #5

Workflow file for this run

name: Lint
on:
workflow_dispatch:
inputs:
logLevel:
description: 'Log level'
required: true
default: 'warning'
tags:
description: 'Run only on tags'
required: true
default: 'true'
pull_request:
branches:
- main
permissions:
contents: read
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.23.1'
cache: true
- name: Install requirements
id: install-lint-requirements
run: |
go mod download
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest
- name: Lint
id: lint
run: |
golangci-lint run