Skip to content

Commit

Permalink
[ci] add codeQL static analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
pbatard committed Sep 4, 2021
1 parent 405fc6b commit f4be099
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 9 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
EMAIL: [email protected]

jobs:
build:
Coverity-Build:
runs-on: windows-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mingw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ on:
- '**.xml'

jobs:
build:
MinGW-Build:
runs-on: windows-latest

strategy:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/vs2019.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ env:
SOLUTION_FILE_PATH: ./rufus.sln

jobs:
build:
VS2019-Build:
runs-on: windows-latest

strategy:
Expand Down
2 changes: 1 addition & 1 deletion res/appstore/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
10 changes: 5 additions & 5 deletions src/rufus.rc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand Down

0 comments on commit f4be099

Please sign in to comment.