Add explain skill for two-part file analysis #13
Workflow file for this run
This file contains hidden or 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: Ansible Playbook | |
| on: [push] | |
| env: | |
| TERM: xterm | |
| jobs: | |
| playbook: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Symlink checkout to ~/.dotfiles | |
| run: ln -s "$GITHUB_WORKSPACE" "$HOME/.dotfiles" | |
| - name: Create stubs for files excluded from version control | |
| run: | | |
| mkdir -p "$HOME/.config/fish/completions" | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v5 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install Neovim | |
| run: | | |
| curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gz | |
| sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz | |
| echo "/opt/nvim-linux-x86_64/bin" >> "$GITHUB_PATH" | |
| - name: Check playbook syntax | |
| run: > | |
| uvx --from ansible-core ansible-playbook | |
| -i "localhost," | |
| -c local | |
| "$HOME/.dotfiles/ansible/dotfiles.yml" | |
| --syntax-check | |
| - name: Run playbook (skip macOS-only tasks) | |
| run: > | |
| uvx --from ansible-core ansible-playbook | |
| -i "localhost," | |
| -c local | |
| "$HOME/.dotfiles/ansible/dotfiles.yml" | |
| --skip-tags agents |