Skip to content

Commit

Permalink
Update ubuntu & clang-format in builds (#5467)
Browse files Browse the repository at this point in the history
  • Loading branch information
orestisfl committed Apr 2, 2023
1 parent ecb9b89 commit 892ae73
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 0 additions & 1 deletion i3bar/include/xcb.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion travis/travis-base-ubuntu.Dockerfile
Original file line number Diff line number Diff line change
@@ -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 don’t 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.
Expand Down

0 comments on commit 892ae73

Please sign in to comment.