From b190369c3a1162b260078f1824d4ade15d873b86 Mon Sep 17 00:00:00 2001 From: Steve Downey Date: Sat, 31 May 2025 11:24:21 -0400 Subject: [PATCH] Update ci configuration to update and upgrade packages Apt update and upgrade as first step in CI. --- .github/workflows/.yamllint | 30 ++++++++++++++++++++++++++++++ .github/workflows/ci.yml | 5 +++++ 2 files changed, 35 insertions(+) create mode 100644 .github/workflows/.yamllint diff --git a/.github/workflows/.yamllint b/.github/workflows/.yamllint new file mode 100644 index 00000000..ed47667e --- /dev/null +++ b/.github/workflows/.yamllint @@ -0,0 +1,30 @@ +--- + +extends: default + +rules: + braces: + level: warning + max-spaces-inside: 1 + brackets: + level: warning + max-spaces-inside: 1 + colons: + level: warning + commas: + level: warning + comments: disable + comments-indentation: disable + document-start: disable + empty-lines: + level: warning + hyphens: + level: warning + indentation: + level: warning + indent-sequences: consistent + line-length: + max: 160 + level: warning + allow-non-breakable-inline-mappings: true + truthy: disable diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 604d6254..dfa582b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,6 +33,11 @@ jobs: with: submodules: 'true' # If Clang 17, install a newer version of libc++ and libc++abi. + - name: Update packages + run: | + set -x + sudo apt update + sudo apt -y upgrade - name: Install libc++ if: matrix.config.tag == 'clang:17' run: |