Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions .github/workflows/codeql-analysis.yml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Dotfiles Setup
on: [push, pull_request]

jobs:
build:
runs-on: macos-26
steps:
- uses: actions/checkout@v4
- name: Setup Environment
run: |
brew update
brew untap homebrew/cask || true
brew untap homebrew/core || true
brew cleanup
brew doctor || true
rm ~/.bashrc
rm ~/.bash_profile

- name: Install Dependencies
run: |
brew install ansible
ansible --version

- name: Syntax Check Playbook
run: ansible-playbook --syntax-check --list-tasks ansible/dotfiles.yml

- name: Run Playbook
run: ansible-playbook ansible/dotfiles.yml --skip-tags "packages,dnscrypt"

- name: Check if Playbook is idempotent
run: |
ansible-playbook ansible/dotfiles.yml --skip-tags "packages,dnscrypt" | grep -q 'changed=0.*failed=0' && (echo 'Idempotence test: pass' && exit 0) || (echo 'Idempotence test: fail' && exit 1)

- name: Debugging Checks
if: ${{ !cancelled() }}
run: |
brew doctor || true
brew list
brew cleanup
ls -la ~/
23 changes: 0 additions & 23 deletions .travis.yml

This file was deleted.

1 change: 0 additions & 1 deletion ansible/tasks/macos_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@
- { domain: "com.apple.appstore", key: "WebKitDeveloperExtras", type: "bool", value: "true" }
# Enable Debug Menu in the Mac App Store
- { domain: "com.apple.appstore", key: "ShowDebugMenu", type: "bool", value: "true" }
- { domain: "~/Library/Preferences/org.gpgtools.gpgmail", key: "SignNewEmailsByDefault", type: "bool", value: "false" }
# Use plain text mode for new TextEdit documents
- { domain: "com.apple.TextEdit", key: "RichText", type: "int", value: "0" }
#defaults write com.apple.TextEdit PlainTextEncoding -int 4
Expand Down
Loading