Change the mirror of Tiny Core Linux #943
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-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==10.2.0 ansible-lint==24.7.0 | |
- 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 |