Skip to content

refactor: unify http client creation (#448) #1482

refactor: unify http client creation (#448)

refactor: unify http client creation (#448) #1482

Workflow file for this run

name: Linters
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run tests
run: docker run -v $PWD:/workdir ghcr.io/igorshubovych/markdownlint-cli:latest --ignore=minutes --disable=MD013 "**/*.md"
# - uses: avto-dev/[email protected]
# with:
# args: './*.md'
docker-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hadolint/[email protected]
with:
recursive: true
ignore: DL3041,DL3008,DL3018
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: azohra/[email protected]
YAMLlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: docker-compose.yml
config_data: "{extends: default, rules: {line-length: disable}}"
golangci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
- uses: golangci/golangci-lint-action@v6
with:
working-directory: sztp-agent