Skip to content

Commit

Permalink
Update all CI to the latest actions, sync up CodeQL exclusions.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelrsweet committed Sep 21, 2024
1 parent 4837067 commit f1b5e61
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 11 deletions.
31 changes: 28 additions & 3 deletions .github/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
paths-ignore:
- libcups
- pdfio
- 'libcups/*'
- 'pdfio/*'
- '**/test*.c'

query-filters:
Expand Down Expand Up @@ -36,4 +36,29 @@ query-filters:
id: cpp/missing-check-scanf
- exclude:
id: cpp/offset-use-before-range-check

- exclude:
id: cpp/missing-check-scanf
- exclude:
id: cpp/offset-use-before-range-check
- exclude:
id: cpp/inconsistent-null-check
- exclude:
id: cpp/nested-loops-with-same-variable
- exclude:
id: cpp/stack-address-escape
- exclude:
id: cpp/poorly-documented-function
- exclude:
id: cpp/loop-variable-changed
- exclude:
id: cpp/irregular-enum-init
- exclude:
id: cpp/include-non-header
- exclude:
id: cpp/commented-out-code
- exclude:
id: cpp/long-switch
- exclude:
id: cpp/complex-condition
- exclude:
id: cpp/complex-block
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update build environment
Expand All @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update build environment
Expand All @@ -55,7 +55,7 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install prerequisites
Expand All @@ -72,12 +72,12 @@ jobs:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup msbuild
uses: microsoft/[email protected]
- name: Restore NuGet packages
run: cd vcnet; nuget restore ippsample.sln; cd ..\libcups\vcnet; nuget restore libcups.sln
run: cd vcnet; nuget restore ippsample.sln; cd ..\libcups\vcnet; nuget restore libcups.sln; cd ..\pdfio; nuget restore
- name: Build
run: cd vcnet; msbuild ippsample.sln
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
environment: Coverity
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive
- name: update build environment
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: recursive
-
Expand Down

0 comments on commit f1b5e61

Please sign in to comment.