diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5e69776..655d7e8 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -95,8 +95,8 @@ jobs: gatekeeper: name: Merge Gatekeeper - runs-on: ubuntu-latest - timeout-minutes: 5 + runs-on: ubuntu-slim + timeout-minutes: 2 needs: [markdown-lint, test] if: ${{ !(failure() || contains(needs.*.result, 'cancelled')) }} steps: diff --git a/dot_zprofile b/dot_zprofile index 2176a27..425a79b 100644 --- a/dot_zprofile +++ b/dot_zprofile @@ -3,12 +3,3 @@ # Homebrew ## Initialization eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)" - -## Update packages -brew update -updateCheckCmd="brew outdated" -if [[ -n $(eval "$updateCheckCmd") ]]; then - brew upgrade - brew autoremove - brew cleanup -fi diff --git a/dot_zsh/aliases.zsh b/dot_zsh/aliases.zsh index 796db02..856d50c 100644 --- a/dot_zsh/aliases.zsh +++ b/dot_zsh/aliases.zsh @@ -1,5 +1,10 @@ # shellcheck disable=SC2148 +# updates +alias brewu='brew update && brew upgrade && brew autoremove && brew cleanup' +alias miseu='mise upgrade' +alias updates='brewu && miseu' + # eza alias ll="eza -l -h -@ -mU --icons --git --time-style=long-iso --color=automatic --group-directories-first" alias l="ll -aa"