Skip to content

deps: update golangci/golangci-lint-action action to v5 (#633) #298

deps: update golangci/golangci-lint-action action to v5 (#633)

deps: update golangci/golangci-lint-action action to v5 (#633) #298

Workflow file for this run

name: Golang-ci lint
on:
workflow_dispatch:
push:
branches:
- master
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
- ".github/workflows/lint.yml"
pull_request:
paths:
- "**.go"
- "**/go.mod"
- "**/go.sum"
- ".github/workflows/lint.yml"
jobs:
golangci:
name: lint
runs-on: ubuntu-22.04
container: ghcr.io/edgelesssys/edgelessrt-dev:ci
steps:
- uses: actions/checkout@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: golangci-lint
uses: golangci/golangci-lint-action@82d40c283aeb1f2b6595839195e95c2d6a49081b # v5.0.0
with:
skip-cache: true
args: --timeout=30m