[ci] add codeQL static analysis

This commit is contained in:
Pete Batard 2021-09-04 00:55:59 +01:00
parent 405fc6bfae
commit f4be099f08
No known key found for this signature in database
GPG Key ID: 38E0CF5E69EDD671
6 changed files with 60 additions and 9 deletions

51
.github/workflows/codeql.yml vendored Normal file
View File

@ -0,0 +1,51 @@
name: "CodeQL"
on:
push:
branches: [master]
paths-ignore:
- '.gitignore'
- '.gitattributes'
- 'res/**'
- '**.cmd'
- '**.md'
- '**.rc'
- '**.sh'
- '**.txt'
- '**.xml'
pull_request:
branches: [master]
paths-ignore:
- '.gitignore'
- '.gitattributes'
- 'res/**'
- '**.cmd'
- '**.md'
- '**.rc'
- '**.sh'
- '**.txt'
- '**.xml'
env:
SOLUTION_FILE_PATH: ./rufus.sln
jobs:
CodeQL-Build:
runs-on: windows-latest
permissions:
security-events: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: cpp
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v1
- name: Build
run: msbuild ${{env.SOLUTION_FILE_PATH}} /m /p:Configuration=Debug,Platform=x64
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1

View File

@ -18,7 +18,7 @@ env:
EMAIL: pete@akeo.ie
jobs:
build:
Coverity-Build:
runs-on: windows-latest
steps:

View File

@ -25,7 +25,7 @@ on:
- '**.xml'
jobs:
build:
MinGW-Build:
runs-on: windows-latest
strategy:

View File

@ -28,7 +28,7 @@ env:
SOLUTION_FILE_PATH: ./rufus.sln
jobs:
build:
VS2019-Build:
runs-on: windows-latest
strategy:

View File

@ -11,7 +11,7 @@
<Identity
Name="19453.net.Rufus"
Publisher="CN=7AC86D13-3E5A-491A-ADD5-80095C212740"
Version="3.16.1813.0" />
Version="3.16.1814.0" />
<Properties>
<DisplayName>Rufus</DisplayName>

View File

@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 232, 326
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_ACCEPTFILES
CAPTION "Rufus 3.16.1813"
CAPTION "Rufus 3.16.1814"
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
@ -395,8 +395,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 3,16,1813,0
PRODUCTVERSION 3,16,1813,0
FILEVERSION 3,16,1814,0
PRODUCTVERSION 3,16,1814,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -414,13 +414,13 @@ BEGIN
VALUE "Comments", "https://rufus.ie"
VALUE "CompanyName", "Akeo Consulting"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "3.16.1813"
VALUE "FileVersion", "3.16.1814"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2021 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
VALUE "OriginalFilename", "rufus-3.16.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "3.16.1813"
VALUE "ProductVersion", "3.16.1814"
END
END
BLOCK "VarFileInfo"