Ben Chuanlong Du's Blog

It is never too late to learn.

Common Issues and Solutions for GitHub Actions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Error: No space left.

Symptom: A GitHub Actions workflow fails with the error message "No space left".

Possible Solutions: 1. An Azure VM mounts an (ephemeral) disk to /mnt which is …

Use Docker Containers for GitHub Actions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Tips & Traps

  1. Docker container is available in Ubuntu and Windows but not macOS in GitHub Actions due to license issues. To use Docker in macOS in GitHub Actions, you have to …

Self-hosted Runners for GitHub Actions

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

  1. straight forward to set up self-hosted runners following instructions

  2. No need for the machine to be publicly accessible

  3. Currently, a runner can be configured to accept only 1 repo in a …

Generating Completions Script Using crazy-complete

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There are many tools for generating completion scripts for shell languages (bash, zsh, fish, etc), crazy-complete is one of the best among such tools.

ldc -h | crazy-complete --input-type=help …