github: use ucm-validator2, use actions/checkout@v4 #1003
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: Validate UCM configuration | |
on: [push, pull_request] | |
jobs: | |
ucm_validate: | |
runs-on: ubuntu-latest | |
container: | |
image: fedora:latest | |
steps: | |
- name: Prepare environment | |
run: | | |
dnf -y upgrade | |
dnf -y install alsa-lib-devel python3 make | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: alsa-ucm-conf | |
- name: Checkout alsa-tests | |
uses: actions/checkout@v4 | |
with: | |
repository: alsa-project/alsa-tests | |
path: alsa-tests | |
- name: Validate configurations | |
run: | | |
cd alsa-tests/python/ucm-validator2 | |
make configs |