Skip to content

ci: configure additional CI jobs & bring linter settings in compliance with OSS template #956

ci: configure additional CI jobs & bring linter settings in compliance with OSS template

ci: configure additional CI jobs & bring linter settings in compliance with OSS template #956

Workflow file for this run

# Lint the entire golang project. This workflow relies on the
# '.golangci.yml' file for its configuration settings.
name: Lint
on:
push:
tags:
- v*
branches:
- master
- main
pull_request:
permissions:
contents: read
env:
GO_VERSION: 1.21
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- uses: actions/checkout@v4
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.57.2
args: --timeout 15m