Skip to content

Commit 007fa46

Browse files
committed
CI
1 parent c50ad67 commit 007fa46

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/appimage_macos.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@ on:
55
workflow_dispatch:
66

77
jobs:
8-
AppImage_Ubuntu20-04:
9-
name: AppImage Ubuntu 20.04
10-
runs-on: ubuntu-20.04
8+
AppImage_Ubuntu22-04:
9+
name: AppImage Ubuntu 22.04
10+
runs-on: ubuntu-22.04
1111
env:
1212
QT_SELECT: qt5
1313
steps:
1414
- name: Checkout repository
1515
uses: actions/checkout@v4
1616

1717
- name: Install Dependencies
18-
run: sudo apt update && sudo apt install qtbase5-dev qt5-qmake qttools5-dev-tools qtdeclarative5-dev libqt5svg5-dev
18+
run: sudo apt update && sudo apt install qtbase5-dev qt5-qmake qttools5-dev-tools qtdeclarative5-dev libqt5svg5-dev libfuse2
1919

2020
- name: Download linuxdeployqt
2121
run: |
@@ -59,9 +59,9 @@ jobs:
5959
brew install p7zip
6060
6161
- name: Install Qt
62-
uses: jurplel/install-qt-action@v3
62+
uses: jurplel/install-qt-action@v4
6363
with:
64-
version: '6.5.*'
64+
version: '6.8.*'
6565
host: 'mac'
6666
target: 'desktop'
6767

.github/workflows/clang-format-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
uses: actions/checkout@v4
1212

1313
- name: clang-format lint
14-
uses: DoozyX/clang-format-lint-action@v0.18.2
14+
uses: DoozyX/clang-format-lint-action@v0.20
1515
with:
1616
source: '.'
1717
extensions: 'h,cpp'
18-
clangFormatVersion: 18
18+
clangFormatVersion: 19
1919
style: Google

game.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ class Game : public QObject {
6969
void moveTower(const int nFrom, const quint8 nStones, const int nTo);
7070
static auto loadGame(const QString &sFile) -> QJsonObject;
7171
auto checkPossibleMoves() -> bool;
72-
auto checkMoveIsValid(const QJsonDocument &legalMoves,
73-
const QJsonArray &move) -> bool;
72+
auto checkMoveIsValid(const QJsonDocument &legalMoves, const QJsonArray &move)
73+
-> bool;
7474
void checkTowerWin(const int nIndex);
7575
void returnStones(const int nIndex);
7676
void delayCpu(const QList<int> &previousMove);

generateboard.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ void GenerateBoard::loopFiles(const QPair<QFileInfo, QFileInfo> &fiInOut,
134134
// ---------------------------------------------------------------------------
135135

136136
auto GenerateBoard::generateBoard(QFile *pInput, QFile *pOutput,
137-
const QString &sIN,
138-
const QString &sOUT) -> bool {
137+
const QString &sIN, const QString &sOUT)
138+
-> bool {
139139
if (!pInput->open(QIODevice::ReadOnly | QIODevice::Text)) {
140140
qWarning() << "Couldn't open input file for board generation:"
141141
<< pInput->fileName() << "\n";

0 commit comments

Comments
 (0)