Hughsie/19x pixart #3564
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
name: Pull Request reviews | |
on: | |
pull_request: | |
branches: [ 1_9_X ] | |
permissions: | |
contents: read # to fetch code (actions/checkout) | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Refresh dependencies | |
run: sudo apt update | |
- name: Install dependencies | |
run: sudo apt install shellcheck clang-format -y | |
- name: Run pre-commit hooks | |
run: | | |
./contrib/setup | |
source venv/bin/activate | |
sed -i "/no-commit-to-branch/,+1d" .pre-commit-config.yaml | |
pre-commit run --hook-stage commit --all-files | |
abi: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Refresh dependencies | |
run: sudo apt update | |
- name: Install dependencies | |
run: | | |
sudo ./contrib/ci/fwupd_setup_helpers.py install-dependencies -o ubuntu --yes | |
sudo ./contrib/ci/fwupd_setup_helpers.py test-meson | |
- name: Check ABI | |
run: ./contrib/ci/check-abi $(git describe --abbrev=0 --tags) $(git rev-parse HEAD) | |
snap: | |
uses: ./.github/workflows/snap.yml | |
with: | |
deploy: false | |
secrets: inherit | |
matrix: | |
uses: ./.github/workflows/matrix.yml |