Commit 51b0d566d30c20a1a9f616813a589127ecf2955b
1 parent
0dd8c3cb
Exists in
develop
Renaming codeql action.
Showing
2 changed files
with
42 additions
and
42 deletions
Show diff stats
| @@ -0,0 +1,42 @@ | @@ -0,0 +1,42 @@ | ||
| 1 | +--- | ||
| 2 | +name: CodeQL | ||
| 3 | +on: | ||
| 4 | + push: | ||
| 5 | + branches: | ||
| 6 | + - develop | ||
| 7 | + pull_request: | ||
| 8 | + branches: | ||
| 9 | + - master | ||
| 10 | +jobs: | ||
| 11 | + analyze: | ||
| 12 | + name: Analyze | ||
| 13 | + runs-on: ubuntu-22.04 | ||
| 14 | + permissions: | ||
| 15 | + actions: read | ||
| 16 | + contents: read | ||
| 17 | + security-events: write | ||
| 18 | + strategy: | ||
| 19 | + fail-fast: false | ||
| 20 | + matrix: | ||
| 21 | + language: | ||
| 22 | + - cpp | ||
| 23 | + steps: | ||
| 24 | + - name: Checkout | ||
| 25 | + uses: actions/checkout@v3 | ||
| 26 | + - name: Install Packages | ||
| 27 | + run: | | ||
| 28 | + echo 'deb http://download.opensuse.org/repositories/home:/PerryWerneck:/pw3270/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:PerryWerneck:pw3270.list | ||
| 29 | + curl -fsSL https://download.opensuse.org/repositories/home:PerryWerneck:pw3270/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_PerryWerneck_pw3270.gpg > /dev/null | ||
| 30 | + sudo apt-get update | ||
| 31 | + sudo apt-get install --yes git make autopoint gettext pkg-config libgtk-3-dev imagemagick lib3270-dev libv3270-dev | ||
| 32 | + - name: Initialize CodeQL | ||
| 33 | + uses: github/codeql-action/init@v2 | ||
| 34 | + with: | ||
| 35 | + languages: ${{ matrix.language }} | ||
| 36 | + queries: +security-and-quality | ||
| 37 | + - name: Autobuild | ||
| 38 | + uses: github/codeql-action/autobuild@v2 | ||
| 39 | + - name: Perform CodeQL Analysis | ||
| 40 | + uses: github/codeql-action/analyze@v2 | ||
| 41 | + with: | ||
| 42 | + category: /language:${{ matrix.language }} |
.github/workflows/codeql.yml
| @@ -1,42 +0,0 @@ | @@ -1,42 +0,0 @@ | ||
| 1 | ---- | ||
| 2 | -name: CodeQL | ||
| 3 | -on: | ||
| 4 | - push: | ||
| 5 | - branches: | ||
| 6 | - - develop | ||
| 7 | - pull_request: | ||
| 8 | - branches: | ||
| 9 | - - master | ||
| 10 | -jobs: | ||
| 11 | - analyze: | ||
| 12 | - name: Analyze | ||
| 13 | - runs-on: ubuntu-22.04 | ||
| 14 | - permissions: | ||
| 15 | - actions: read | ||
| 16 | - contents: read | ||
| 17 | - security-events: write | ||
| 18 | - strategy: | ||
| 19 | - fail-fast: false | ||
| 20 | - matrix: | ||
| 21 | - language: | ||
| 22 | - - cpp | ||
| 23 | - steps: | ||
| 24 | - - name: Checkout | ||
| 25 | - uses: actions/checkout@v3 | ||
| 26 | - - name: Install Packages | ||
| 27 | - run: | | ||
| 28 | - echo 'deb http://download.opensuse.org/repositories/home:/PerryWerneck:/pw3270/xUbuntu_22.04/ /' | sudo tee /etc/apt/sources.list.d/home:PerryWerneck:pw3270.list | ||
| 29 | - curl -fsSL https://download.opensuse.org/repositories/home:PerryWerneck:pw3270/xUbuntu_22.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_PerryWerneck_pw3270.gpg > /dev/null | ||
| 30 | - sudo apt-get update | ||
| 31 | - sudo apt-get install --yes git make autopoint gettext pkg-config libgtk-3-dev imagemagick lib3270-dev libv3270-dev | ||
| 32 | - - name: Initialize CodeQL | ||
| 33 | - uses: github/codeql-action/init@v2 | ||
| 34 | - with: | ||
| 35 | - languages: ${{ matrix.language }} | ||
| 36 | - queries: +security-and-quality | ||
| 37 | - - name: Autobuild | ||
| 38 | - uses: github/codeql-action/autobuild@v2 | ||
| 39 | - - name: Perform CodeQL Analysis | ||
| 40 | - uses: github/codeql-action/analyze@v2 | ||
| 41 | - with: | ||
| 42 | - category: /language:${{ matrix.language }} |