diff options
author | Brian Behlendorf <[email protected]> | 2023-02-27 09:19:25 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2023-02-27 09:19:25 -0800 |
commit | 000985fc15ecd71e9d3360867df5d19e0a00a373 (patch) | |
tree | e68eb0bedd18900b127722abbb1808f2317aab5c /.github/workflows/checkstyle.yaml | |
parent | bf1bec394e715de9f7ac4a54b5b1b884d7e41a32 (diff) |
Workaround GitHub Action failure
Ubuntu 20.04 and 22.04 workflows are failing due to an error
which is hit when running `apt-get update`. Until the
problematic package is fixed apply the suggested workaround
described here:
https://github.com/orgs/community/discussions/47863
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Tino Reichardt <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #14530
Diffstat (limited to '.github/workflows/checkstyle.yaml')
-rw-r--r-- | .github/workflows/checkstyle.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/checkstyle.yaml b/.github/workflows/checkstyle.yaml index 008adcc03..b0fdc570d 100644 --- a/.github/workflows/checkstyle.yaml +++ b/.github/workflows/checkstyle.yaml @@ -13,8 +13,10 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Install dependencies run: | - sudo apt-get update - sudo apt-get -qq upgrade + # https://github.com/orgs/community/discussions/47863 + sudo apt-mark hold grub-efi-amd64-signed + sudo apt-get update --fix-missing + sudo apt-get upgrade sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/build-dependencies.txt apt-get install -qq sudo xargs --arg-file=${{ github.workspace }}/.github/workflows/checkstyle-dependencies.txt apt-get install -qq sudo python3 -m pip install --quiet flake8 |