Skip to content

Merge pull request #52 from canonical/renovate/core24-8-canonical-sna… #107

Merge pull request #52 from canonical/renovate/core24-8-canonical-sna…

Merge pull request #52 from canonical/renovate/core24-8-canonical-sna… #107

Workflow file for this run

name: Run linters
on:
pull_request:
branches:
- 'core2[24]-[78]'
push:
branches:
- 'core2[24]-[78]'
jobs:
lint:
runs-on: ubuntu-22.04
steps:
- name: Install dependencies
run: |
sudo snap install shellcheck
pip install -U yamllint
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Run ShellCheck
run: |
./tools/external/snapd-testing-tools/utils/spread-shellcheck tests/spread/ spread.yaml
- name: Run yamllint
run: |
yamllint --strict .