Release 2.0.79 #860
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-requests | |
on: | |
pull_request: | |
branches: | |
- development | |
- RC | |
- master | |
jobs: | |
test-pr: | |
name: Test Pull Request | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install ansible==9.0.1 ansible-lint==6.22.1 | |
- name: Syntax Check | |
run: | | |
ansible-playbook -i inventory site.yml --syntax-check | |
- name: Ansible lint | |
run: | | |
ansible-lint -v roles/netbootxyz/tasks | |
build-pr: | |
name: Build Pull Request | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Build PR release | |
run: | | |
./script/build_release pr |