Skip to content

deps: Update flake.lock #33

deps: Update flake.lock

deps: Update flake.lock #33

name: Cache Packages
on:
push:
branches:
- master
paths-ignore:
- dotfiles/**
- gozip/**
defaults:
run:
shell: ci-bash {0}
# Since I am only interested in caching packages from the latest commit to the
# branch, I will limit the workflow to running at most once per branch, cancelling
# older runs when newer ones start.
concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true
jobs:
cache-packages:
# TODO: Sometimes this job hangs and the default timeout is too long (6 hours).
timeout-minutes: 20
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
# GitHub Actions runs macos-latest on Apple silicon so instead I'll use the
# most recent version of macOS that they still run on Intel.
- macos-13
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: ./.github/actions/setup
with:
cachix-auth-token: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- run: ./scripts/ci/build-packages-to-cache.bash