Skip to content

Commit

Permalink
Always run sudo apt-get update before installing a package
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed Oct 22, 2023
1 parent d3a2df9 commit 4c00093
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/check-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@ jobs:

# Actual CI steps
- name: Install Linux Packages
run: grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
run: |
sudo apt-get update
grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
- name: Install Python Packages
run: pip install -r requirements.txt
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Install Linux Packages
run: grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
run: |
sudo apt-get update
grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
- name: Install Python Packages
run: pip install -r requirements.txt
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ jobs:

# Actual CI steps
- name: Install Linux Packages
run: grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
run: |
sudo apt-get update
grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
- name: Install Python Packages
run: pip install -r requirements.txt
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/check-types.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:
run: echo "$HOME/.local/bin" >> $GITHUB_PATH

- name: Install Linux Packages
run: grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
run: |
sudo apt-get update
grep -v '^#' binder/apt.txt | sudo xargs -r apt-get install -y
- name: Install Python Packages
run: pip install -r requirements.txt
Expand Down

0 comments on commit 4c00093

Please sign in to comment.