Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into feature/localization
Browse files Browse the repository at this point in the history
* origin/master:
  Update ccpp.yml
  Update codeql-analysis.yml
  Update frversion.h
  Fix mariuz#281
  Update windows-build.yml
  Update ccpp.yml
  update actions and codeql
  • Loading branch information
au2010 committed Oct 15, 2024
2 parents 7a67324 + 6ef5e55 commit 9759082
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ccpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ on:
jobs:
build:

runs-on: ubuntu-latest
#runs-on: ubuntu-latest
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: wxWidgets 3.2
run: sudo apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
- name: add repository
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
#runs-on: ubuntu-latest
runs-on: ubuntu-22.04
permissions:
actions: read
contents: read
Expand All @@ -39,11 +40,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -68,7 +69,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3


# ℹ️ Command-line programs to run using the OS shell.
Expand All @@ -83,4 +84,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
4 changes: 2 additions & 2 deletions .github/workflows/windows-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: windows-latest
steps:

- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: wxWidget cache
id: cache-wxwidget
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
wxWidgets
Expand Down
2 changes: 1 addition & 1 deletion src/frversion.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#define FR_VERSION_MAJOR 0
#define FR_VERSION_MINOR 9
#define FR_VERSION_RLS 11
#define FR_VERSION_RLS 12

// if this file can't be found you need to run the update-revision-info script
#include "revisioninfo.h"
4 changes: 3 additions & 1 deletion src/metadata/metadataitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ NodeType getTypeByName(const wxString& name)
return ntGenerator;
else if (name == "FUNCTIONSQL")
return ntFunctionSQL;
else if (name == "FUNCTION")
return ntFunctionSQL;
else if (name == "UDF")
return ntUDF;
else if (name == "DOMAIN")
Expand Down Expand Up @@ -329,7 +331,7 @@ void MetadataItem::getDependencies(std::vector<Dependency>& list,
NodeType dep_types[] = { ntTable, ntView, ntTrigger, ntUnknown, ntUnknown,
ntProcedure,ntUnknown, ntException,ntUnknown, ntUnknown,
ntUnknown, ntUnknown, ntUnknown, ntUnknown, ntGenerator,
ntFunction, ntUnknown, ntUnknown, ntUnknown, ntPackage
ntFunctionSQL, ntUnknown, ntUnknown, ntUnknown, ntPackage
};
const int type_count = sizeof(dep_types)/sizeof(NodeType);
for (int i = 0; i < type_count; i++)
Expand Down

0 comments on commit 9759082

Please sign in to comment.