Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/actions/linter_tests/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@ runs:

case "$RUNNER_OS" in
Linux)
# Cleanup any existing apt locks
sudo killall apt-get || true
sudo rm /var/lib/apt/lists/lock || true
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There was a 2-day old apt-get process that still had the lock on one of the runners. This should rarely/never happen, so just clean up as part of the action runner process, because it will fail otherwise anyway


# Install non-hermetic linters
sudo apt-get update
sudo apt-get -y install libperl-critic-perl perltidy zlib1g-dev
DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC sudo apt-get -y install tzdata
Expand Down