Skip to content

build(avd): keep both jdk 11 and 17 #24

build(avd): keep both jdk 11 and 17

build(avd): keep both jdk 11 and 17 #24

Workflow file for this run

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