sof_remove.sh: Remove all ALSA modules #1171
Workflow file for this run
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
--- | |
# Tools that can save round-trips to github and a lot of time: | |
# | |
# yamllint -f parsable pull_request.yml | |
# pip3 install ruamel.yaml.cmd | |
# yaml json pull_request.yml | |
# yaml merge-expand pull_request.yml exp.yml && | |
# diff -b -u pull_request.yml exp.yml | |
# TODO: see if https://github.com/trilom/file-changes-action/ or similar | |
# can replace check-gitrange.bash | |
name: Pull Requests | |
# yamllint disable-line rule:truthy | |
on: [pull_request, workflow_dispatch] | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: shellcheck | |
env: | |
BASE_REF: ${{ github.base_ref }} | |
# Triple-dotted 'origin/master...HEAD' | |
run: ./tools/CI/check-gitrange.bash origin/${BASE_REF}...HEAD | |
text/x-shellscript shellcheck -x | |
pylint: | |
runs-on: ubuntu-22.04 | |
steps: | |
# :-( https://github.community/t/support-for-yaml-anchors/16128 | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: python --version | |
# Package index is "out of date by design" | |
# https://github.com/actions/virtual-environments/issues/1757 | |
- name: apt-get -y update | |
run: sudo apt-get -y update | |
- name: get python libs | |
run: sudo apt-get -y install $(cat python-deps.txt) | |
- name: pylint | |
env: | |
BASE_REF: ${{ github.base_ref }} | |
# let's re-enable 'C'onventions once we got the other numbers down | |
run: ./tools/CI/check-gitrange.bash origin/${BASE_REF}...HEAD | |
text/x-script.python pylint --disable=C |