Skip to content

ROX-19898: refactor collector configuration in tests #1677

ROX-19898: refactor collector configuration in tests

ROX-19898: refactor collector configuration in tests #1677

Workflow file for this run

name: Lint
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
# fetch all to allow linting of differences between branches
fetch-depth: 0
- uses: actions/setup-python@v3
- uses: mfinelli/setup-shfmt@v2
- name: Install actionlint
run: |
# Install actionlint to ~/bin/, otherwise pre-commit won't be able to find the executable.
GOBIN="${HOME}/bin/" go install github.com/rhysd/actionlint/cmd/actionlint@latest
- uses: pre-commit/[email protected]
with:
# ensure we're only linting the diff between the PR and the base ref
extra_args: --from-ref origin/${{ github.event.pull_request.base.ref }} --to-ref HEAD