Skip to content

premain: enable JSON formatted logs if EDG_LOG_FORMAT=json #590

premain: enable JSON formatted logs if EDG_LOG_FORMAT=json

premain: enable JSON formatted logs if EDG_LOG_FORMAT=json #590

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-24.04
container: ghcr.io/edgelesssys/edgelessrt-dev:ci
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
skip-cache: true
args: --timeout=30m