Skip to content

Commit

Permalink
CI: use apt-get instead of apt, update before install
Browse files Browse the repository at this point in the history
Potential quirk of using act to run workflows locally, but there should
be no assumption that the repository has been updated before
installation. It may not be a bad idea to define a custom containerfile
for this later.

Also use apt-get instead of apt, as apt does not have a stable
scriptable API, and likes to complain about it.

Signed-off-by: Eric Richter <[email protected]>
  • Loading branch information
erichte-ibm committed Aug 2, 2023
1 parent 18a3ddc commit f95d959
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/CI_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v2

- name: install clang format
run: sudo apt install clang-format
run: sudo apt-get update && sudo apt-get install -y clang-format

- name: test if formatting is appropriate
run: make formatcheck

0 comments on commit f95d959

Please sign in to comment.