Skip to content

chore(deps): update all non-major dependencies #1915

chore(deps): update all non-major dependencies

chore(deps): update all non-major dependencies #1915

Workflow file for this run

name: CI Host
on:
push:
branches:
- main
- feature/*
pull_request:
branches:
- main
schedule:
- cron: 0 23 * * 5
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-24.04
timeout-minutes: 5
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Paths Filter
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: filter
with:
token: ${{ secrets.GITHUB_TOKEN }}
base: ${{ github.event.pull_request.base.ref || github.base_ref || github.ref }}
filters: |
shared: &shared
- 'home/.chezmoi*'
- 'home/.chezmoiscripts/universal/**'
- 'home/.chezmoitemplates/universal/**'
- 'home/dot_*'
- 'home/dot_*/**'
- 'home/private_dot_*'
- 'home/private_dot_*/**'
- 'install.sh'
- .github/workflows/ci-host.yaml
ubuntu-24.04:
- *shared
- 'home/.chezmoiscripts/ubuntu/*'
- 'home/.chezmoitemplates/ubuntu/*'
macos-14:
- *shared
- 'home/.chezmoiscripts/darwin/*'
- 'home/.chezmoitemplates/darwin/*'
- name: Set Matrix
id: set-matrix
run: |
MATRIX=$(echo '${{ steps.filter.outputs.changes }}' | jq -c 'del(.[] | select(. == "shared")) | {os: select(length > 0) }')
echo matrix="$MATRIX" >> $GITHUB_OUTPUT
host-build:
needs: [changes]
if: ${{ needs.changes.outputs.matrix != '' && needs.changes.outputs.matrix != '[]' }}
strategy:
matrix: ${{ fromJSON(needs.changes.outputs.matrix) }}
fail-fast: false
runs-on: ${{ matrix.os }}
timeout-minutes: 60
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Cache Homebrew
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
if: ${{ matrix.os =='macos-14' }}
with:
path: |
~/Library/Caches/Homebrew
key: brew-cache-${{ runner.os }}-${{ hashFiles('home/**') }}
restore-keys: brew-cache-
- name: Cache Apt
uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4
if: ${{ matrix.os =='ubuntu-24.04' }}
with:
path: /var/cache/apt/archives/*.deb
key: apt-cache-${{ runner.os }}-${{ hashFiles('home/**') }}
restore-keys: apt-cache-
- name: Run install
env:
GITHUB_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_NO_INSTALL_CLEANUP: 1
run: ./install.sh
- name: Run tests
run: ~/.local/bin/check-dotfiles