Skip to content

Fix editorconfig format #737

Fix editorconfig format

Fix editorconfig format #737

Workflow file for this run

---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2020
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
name: Lint Code Base
# yamllint disable-line rule:truthy
permissions: read-all
on:
push:
pull_request:
jobs:
get-sloc:
name: Count Lines of Code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
- name: Setup Go
uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # refs/tags/v5.0.2
with:
go-version: ">=1.20.0"
- name: Install dependencies
run: go install github.com/boyter/scc/v3@latest
- name: Run scc tool
run: scc --format wide
check-broken-links:
name: Check documentation external links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
- name: Check broken links
uses: gaurav-nelson/github-action-markdown-link-check@499c1e7f3637c131334fa8e937c45144f79d72d2 # refs/tags/v1
check-super-linter:
name: Check syntax (super-linter)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
- uses: github/super-linter@b807e99ddd37e444d189cfd2c2ca1274d8ae8ef1 # refs/tags/v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
LINTER_RULES_PATH: /
EDITORCONFIG_FILE_NAME: .editorconfig
FILTER_REGEX_EXCLUDE: "requirements/.*"
check-tox:
name: Check syntax (tox)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # refs/tags/v4.2.0
- name: Install tox
run: pip install tox
- name: Run tox lint validation
run: tox -e lint