Skip to content

Merge branch 'release-0.8.0' #313

Merge branch 'release-0.8.0'

Merge branch 'release-0.8.0' #313

Workflow file for this run

name: VMware Event Router Linting
# triggered on every push and PRs but only when changes inside
# vmware-event-router (sub)dir(s)
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- "vmware-event-router/**"
push:
paths:
- "vmware-event-router/**"
jobs:
golangci:
name: lint
strategy:
matrix:
go-version: ["1.19"]
platform: ["ubuntu-latest"]
runs-on: ${{ matrix.platform }}
timeout-minutes: 20
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up Go ${{ matrix.go-version }}
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491
with:
go-version: ${{ matrix.go-version }}
cache: false # use golangci-lint caching
id: go
- name: golangci-lint
uses: golangci/golangci-lint-action@3cfe3a4abbb849e10058ce4af15d205b6da42804
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: latest
# Optional: working directory, useful for monorepos
working-directory: vmware-event-router
# Optional: golangci-lint command line arguments.
args: --build-tags unit,integration -v --timeout 3m
# Optional: show only new issues if it's a pull request. The default value is `false`.
# only-new-issues: true