Skip to content

fix(application): save twice if auto_save and -o option #353

fix(application): save twice if auto_save and -o option

fix(application): save twice if auto_save and -o option #353

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build-and-lint:
runs-on: ubuntu-latest
steps:
- name: "Checkout repository"
uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt --yes install libgtk-3-dev gettext meson ninja-build scdoc clang clang-format clang-tidy
- name: "Build with gcc"
run: |
pkg-config --list-all
CC=gcc meson setup build
ninja -C build
- name: "Build with clang"
run: |
git clean -fdx
CC=clang meson setup build
ninja -C build
- name: "Lint with clang-format"
run: |
echo "Making sure clang-format is correct..."
git ls-files -- '*.[ch]' | xargs clang-format -Werror -n
echo "Running clang-tidy..."
run-clang-tidy -p build