Skip to content

Merge pull request #102 from openvex/dependabot/github_actions/action… #234

Merge pull request #102 from openvex/dependabot/github_actions/action…

Merge pull request #102 from openvex/dependabot/github_actions/action… #234

Workflow file for this run

# Copyright 2023 The OpenVEX Authors
# SPDX-License-Identifier: Apache-2.0
name: verify
on:
push:
branches:
- "main"
pull_request:
permissions: read-all
jobs:
golangci:
name: golangci-lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v3
with:
go-version: '1.20'
check-latest: true
cache: true
- name: golangci-lint
uses: golangci/golangci-lint-action@639cd343e1d3b897ff35927a75193d57cfcba299 # v3
with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
version: v1.52
args: --timeout=5m