Skip to content

Commit

Permalink
️️⚡️ BUMP ⚡️ 2 files 7(+) 4(-)
Browse files Browse the repository at this point in the history
  • Loading branch information
borestad committed Feb 15, 2024
1 parent eaa163e commit 958a38d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/scripts/ciutil
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ install-deb() {
preinstall-binaries() {
local dir=$PWD

# https://medium.com/opsops/speeding-up-ci-cd-on-dpkg-based-systems-ae5af774c557
echo 'force-unsafe-io' | sudo tee -a /etc/dpkg/dpkg.cfg > /dev/null

# Testing:
# sudo rm -rf /var/lib/apt/archives/*
# sudo rm -rf /var/cache/*
Expand Down Expand Up @@ -111,7 +108,7 @@ set-env-variables() {
# Action Cache
WS=$RUNNER_WORKSPACE

to_env LD_PRELOAD /usr/lib/x86_64-linux-gnu/libeatmydata.so
# to_env LD_PRELOAD /usr/lib/x86_64-linux-gnu/libeatmydata.so
to_env ACTIONS_CACHE_DIR $WS/.actions-cache
to_env ACTIONS_CACHE_BIN_DIR $WS/.actions-cache/bin
to_env PNPM_STORE_DIR $WS/.actions-cache/pnpm/pnpm-store
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ jobs:
name: job ❯ build & run
runs-on: ubuntu-22.04
steps:
# ─────────────────────────────────────────────────────
- name: Bootstrap > Optimize fsync
run: |
echo "LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libeatmydata.so" >> $GITHUB_ENV
echo 'force-unsafe-io' | sudo tee -a /etc/dpkg/dpkg.cfg > /dev/null
# ─────────────────────────────────────────────────────
- name: Bootstrap ❯❯ actions/checkout@v4
uses: actions/checkout@v4
Expand Down

0 comments on commit 958a38d

Please sign in to comment.