Skip to content

Commit

Permalink
adding apt update
Browse files Browse the repository at this point in the history
  • Loading branch information
AmyLGalles committed Jan 6, 2025
1 parent 0ad73ea commit 4a83b5b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/bitwarden_workflow_linter/rules/run_actionlint.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ def check_actionlint():
if platform_system.startswith("Linux"):
try:
subprocess.run(
["sudo", "apt-get", "update", "&&", "sudo", "apt-get", "install", "-y", "actionlint"], check=True
["sudo", "apt-get", "update"], check=True
)
subprocess.run(
["sudo", "apt-get", "install", "-y", "actionlint"], check=True
)
return True, ""
except (FileNotFoundError, subprocess.CalledProcessError):
Expand Down

0 comments on commit 4a83b5b

Please sign in to comment.