Update ubuntu & clang-format in builds (#5467)

This commit is contained in:
Orestis Floros 2023-04-02 16:24:15 +02:00 committed by GitHub
parent ecb9b895c7
commit 892ae730cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View File

@ -84,8 +84,8 @@ jobs:
run: ./release-notes/generator.pl
- name: Install dependencies
run: |
sudo apt-get install -y clang-format-12
sudo apt-get install -y clang-format-14
- name: Check formatting
run: clang-format-12 --dry-run --Werror $(git ls-files '*.c' '*.h')
run: clang-format-14 --dry-run --Werror $(git ls-files '*.c' '*.h')
- name: Verify safe wrapper functions are used
run: ./travis/check-safe-wrappers.sh

View File

@ -12,7 +12,6 @@
#include <config.h>
#include <stdint.h>
//#include "outputs.h"
#define _NET_SYSTEM_TRAY_ORIENTATION_HORZ 0
#define _NET_SYSTEM_TRAY_ORIENTATION_VERT 1

View File

@ -1,7 +1,7 @@
# vim:ft=Dockerfile
# Same as travis-base.Dockerfile, but without the test suite dependencies since
# we only build Debian packages on Ubuntu, we dont run the tests.
FROM ubuntu:focal
FROM ubuntu:jammy
RUN echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup
# Paper over occasional network flakiness of some mirrors.