Skip to content

feat: rpc::Client #12591

feat: rpc::Client

feat: rpc::Client #12591

Workflow file for this run

name: Script linters
# Cancel workflow if there is a new change to the branch.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
on:
merge_group:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run shellcheck
uses: ludeeus/action-shellcheck@2.0.0
env:
SHELLCHECK_OPTS: --external-sources --source-path=SCRIPTDIR
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Run rubocop
run: |
gem install rubocop -v 1.58 --no-document
rubocop scripts/
run-js-linters:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
yarn install
yarn js-lint
yarn js-fmt-check
docker-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: validate compose file
run: docker-compose -f .maintain/monitoring/docker-compose.yml config
- uses: hadolint/hadolint-action@v3.1.0
with:
dockerfile: "Dockerfile*"
recursive: true
# https://github.com/hadolint/hadolint/wiki/DL3008
# https://github.com/hadolint/hadolint/wiki/DL3018
ignore: DL3008,DL3018
markdown-lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
yarn install
yarn run md-check