build(avd-jdk): switch back to openjdk 11 #23
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: pr-validation | |
on: | |
pull_request: | |
branches: [main] | |
defaults: | |
run: | |
shell: bash | |
concurrency: | |
group: ${{ github.head_ref }}.${{ github.sha }}.pr-validation | |
cancel-in-progress: true | |
jobs: | |
premerge: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Don't save Bash session history | |
run: unset HISTFILE | |
- name: Checkout sources | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Validate the commit messages | |
run: | | |
sudo pip3 install -U Commitizen | |
git checkout -b premerge | |
git fetch origin main:main | |
cz check --rev-range main..premerge | |
- name: Detect changes | |
uses: dorny/paths-filter@v2 | |
id: changes | |
with: | |
filters: | | |
shelltools: | |
- '*.sh' | |
- 'utils/*.sh' | |
- name: Lint shell | |
if: steps.changes.outputs.shelltools == 'true' | |
run: | | |
sudo apt update | |
sudo apt install -y shellcheck | |
shellcheck ./*.sh ./utils/*.sh -x |