chore(deps): update dependency canonical/snapcraft to v8.3.3 (#55) #111
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 . |