diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2023-01-31 13:29:55 +0100 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2023-01-31 13:29:55 +0100 |
commit | 3a6639a04fc9b1c6f3a5c4285793d56687d90c06 (patch) | |
tree | 62116a9aefef4e21639ecfec9b84b11a907b3366 /.github | |
parent | 32182959224abd80541f238df2e27119a52810ce (diff) |
YML fixes, linelength is warning
Diffstat (limited to '.github')
-rw-r--r-- | .github/FUNDING.yml | 3 | ||||
-rw-r--r-- | .github/workflows/ccpp.yml | 19 | ||||
-rw-r--r-- | .github/workflows/codeql.yml | 65 |
3 files changed, 44 insertions, 43 deletions
diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 459cfdab..31ebb28f 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,3 +1,2 @@ -# These are supported funding model platforms - +--- github: annejan diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 04b3007b..4bcf6001 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -1,3 +1,4 @@ +--- name: QMake on: [push, pull_request] jobs: @@ -6,15 +7,15 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, macos-latest, windows-latest] - include: - - os: ubuntu-latest - make: make - - os: macos-latest - make: make - - os: windows-latest - make: nmake - steps: + os: [ubuntu-latest, macos-latest, windows-latest] + include: + - os: ubuntu-latest + make: make + - os: macos-latest + make: make + - os: windows-latest + make: nmake + steps: - uses: actions/checkout@v1 - uses: ilammy/msvc-dev-cmd@v1 - name: Install Qt diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 143d075f..19924f71 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -1,3 +1,4 @@ +--- # For most projects, this workflow file will not need changing; you simply need # to commit it to your repository. # @@ -13,10 +14,10 @@ name: "CodeQL" on: push: - branches: [ "main" ] + branches: ["main"] pull_request: # The branches below must be a subset of the branches above - branches: [ "main" ] + branches: ["main"] schedule: - cron: '24 8 * * 2' @@ -32,47 +33,47 @@ jobs: strategy: fail-fast: false matrix: - language: [ 'cpp' ] + language: ['cpp'] # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] # Use only 'java' to analyze code written in Java, Kotlin or both # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support steps: - - name: Checkout repository - uses: actions/checkout@v3 + - name: Checkout repository + uses: actions/checkout@v3 - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v2 - with: - languages: ${{ matrix.language }} - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. - # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs - # queries: security-extended,security-and-quality + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality - - name: Install Qt - uses: jurplel/install-qt-action@v2 + - name: Install Qt + uses: jurplel/install-qt-action@v2 - # Autobuild attempts to build any compiled languages (C/C++, C#, Go, 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 + # Autobuild attempts to build any compiled languages (C/C++, C#, Go, 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 - # âšī¸ Command-line programs to run using the OS shell. - # đ See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + # Command-line programs to run using the OS shell. + # đ See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun - # If the Autobuild fails above, remove it and uncomment the following three lines. - # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. - # - run: | - # echo "Run, Build Application using script" - # ./location_of_script_within_repo/buildscript.sh + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v2 - with: - category: "/language:${{matrix.language}}" + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 + with: + category: "/language:${{matrix.language}}" |