diff --git a/.github/actions/cmake/action.yml b/.github/actions/cmake/action.yml index 35a55a76a..c8c670226 100644 --- a/.github/actions/cmake/action.yml +++ b/.github/actions/cmake/action.yml @@ -23,7 +23,7 @@ runs: # Linux deps - name: Install/cache clazy, ninja, openldap, doctest, and Qt's dependencies if: runner.os != 'Windows' - uses: awalsh128/cache-apt-pkgs-action@v1.3.0 + uses: awalsh128/cache-apt-pkgs-action@v1.4.1 with: packages: ninja-build doctest-dev libgl1-mesa-dev libpulse-dev libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-shape0 libxcb-util1 libxcb-xinerama0 libxkbcommon-x11-0 libldap-dev clazy version: 1.0 @@ -52,7 +52,7 @@ runs: modules: ${{ inputs.modules }} - name: ccache - uses: hendrikmuhs/ccache-action@v1.2 + uses: hendrikmuhs/ccache-action@v1.2.12 with: key: ${{ github.job }} diff --git a/.github/actions/run-linter/action.yml b/.github/actions/run-linter/action.yml index 5fea408c6..85993f64f 100644 --- a/.github/actions/run-linter/action.yml +++ b/.github/actions/run-linter/action.yml @@ -10,7 +10,7 @@ runs: steps: - uses: ./.github/actions/cmake with: - qt_version: 6.5.0 + qt_version: 6.5.3 use_qt6: ON modules: qtserialport qtwebsockets additional_cmake_args: -DCMAKE_GLOBAL_AUTOGEN_TARGET=ON -DCMAKE_AUTOGEN_ORIGIN_DEPENDS=OFF diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d408be5d6..9b6b4529c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,7 +19,7 @@ jobs: CC: clang-15 CXX: clang++-15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true @@ -35,7 +35,7 @@ jobs: CC: clang-15 CXX: clang++-15 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true diff --git a/.github/workflows/lupdate.yml b/.github/workflows/lupdate.yml new file mode 100644 index 000000000..f3478767c --- /dev/null +++ b/.github/workflows/lupdate.yml @@ -0,0 +1,36 @@ +# vim: sw=2 +name: lupdate + +concurrency: + group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} + cancel-in-progress: true + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + ubuntu-qt6: + name: Qt 6.5.3 / Ubuntu 22.04 + runs-on: ubuntu-22.04 + env: + LIBSHV_RUN_LUPDATE: 1 + steps: + - uses: actions/checkout@v4 + with: + submodules: true + + - name: Setup CMake + uses: ./.github/actions/cmake + with: + qt_version: 6.5.3 + use_qt6: ON + modules: qtserialport qtwebsockets + + - name: Refresh translation files + run: cmake --build '${{github.workspace}}/build' --target update_translations + + - name: Check changes + run: git diff --exit-code diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 736dec6bc..448eb0dcf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: CFLAGS: -fsanitize=address,undefined CXXFLAGS: -fsanitize=address,undefined steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true @@ -34,20 +34,20 @@ jobs: uses: ./.github/actions/build-and-test ubuntu-qt6: - name: Qt 6.5.0 / Ubuntu 22.04 + name: Qt 6.5.3 / Ubuntu 22.04 runs-on: ubuntu-22.04 env: CFLAGS: -fsanitize=address,undefined CXXFLAGS: -fsanitize=address,undefined steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Setup CMake uses: ./.github/actions/cmake with: - qt_version: 6.5.0 + qt_version: 6.5.3 use_qt6: ON modules: qtserialport qtwebsockets @@ -55,17 +55,17 @@ jobs: uses: ./.github/actions/build-and-test windows: - name: Qt 6.5.0 / Windows + name: Qt 6.5.3 / Windows runs-on: windows-2022 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Setup CMake uses: ./.github/actions/cmake with: - qt_version: 6.5.0 + qt_version: 6.5.3 qt_arch: win64_mingw use_qt6: ON modules: qtserialport qtwebsockets @@ -81,7 +81,7 @@ jobs: name: Qt 6.6.2 / NixOS runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - name: Install Nix