Skip to content

feat(kubes): alias ka #161

feat(kubes): alias ka

feat(kubes): alias ka #161

Workflow file for this run

name: CI
on:
push:
workflow_dispatch:
jobs:
build:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
# remove the packages that are already in the environment so we can install them.
# relink brew python packages - these are already installed but overwritten.
# we need them because they are dependencies of packages in the Brewfile
# see https://github.com/actions/runner-images
- name: reset runner environment
run: |
rm -f /usr/local/bin/aws
rm -f /usr/local/bin/aws_completer
rm -f /usr/local/bin/go
rm -f /usr/local/bin/gofmt
brew unlink [email protected] [email protected]
brew link --overwrite [email protected] [email protected]
rm "$HOME/.gitconfig"
brew unlink git
# fixes https://github.com/zsh-users/zsh-completions/issues/433
# which causes compinit: initialization aborted
- name: fix insecure directories
run: |
chmod go-w /usr/local/share/zsh/site-functions /usr/local/share/zsh
- name: fix build to work with setup-mac
run: |
mkdir -p "$HOME/.zshrc.d"
touch "$HOME/.zshrc.d/auth.plugin.zsh"
touch "$HOME/.zshrc.d/aws-doctor.plugin.zsh"
touch "$HOME/.zshrc.d/functions.plugin.zsh"
touch "$HOME/.zshrc.d/git-doctor.plugin.zsh"
touch "$HOME/.zshrc.d/setup.plugin.zsh"
- name: install.sh
run: ./install.sh
- name: Setup tmate session
if: ${{ github.event_name == 'workflow_dispatch' && failure() }}
uses: mxschmitt/action-tmate@v3