Add an Ansible playbook to backup my Proxmox servers #344
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: CI | |
on: pull_request | |
jobs: | |
Test: | |
runs-on: | |
- self-hosted | |
- CI-CD | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v4 | |
- name: Run actionlint | |
run: actionlint -ignore 'label "CI-CD" is unknown' .github/workflows/CI.yml | |
- name: Run codespell | |
run: codespell --enable-colors --exclude-file=".github/workflows/codespell_exclude_lines" | |
- name: Run mdl | |
run: mdl --style .github/workflows/mdl_style.rb . | |
- name: Run ansible-lint | |
run: ansible-lint -q --force-color --config-file .github/workflows/ansible-lint_exclude_list Ansible-Playbooks/roles/*/tasks/main.yml | |
- name: Run nvchecker | |
run: nvchecker -c Dotfiles/Services/nvchecker.toml -k /opt/github-runner/Linux-Server/nvchecker_keyfile > nvchecker.output 2>&1 ; cat nvchecker.output && if grep "\[E" nvchecker.output; then exit 1; fi |