|
|
@ -41,21 +41,21 @@ jobs: |
|
|
|
|
|
|
|
|
steps: |
|
|
steps: |
|
|
- name: Harden Runner |
|
|
- name: Harden Runner |
|
|
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1 |
|
|
|
|
|
|
|
|
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1 |
|
|
with: |
|
|
with: |
|
|
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs |
|
|
egress-policy: audit # TODO: change to 'egress-policy: block' after couple of runs |
|
|
|
|
|
|
|
|
- name: Checkout repository |
|
|
- name: Checkout repository |
|
|
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3.5.0 |
|
|
|
|
|
|
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 |
|
|
|
|
|
|
|
|
- name: Install Protoc |
|
|
- name: Install Protoc |
|
|
uses: arduino/setup-protoc@149f6c87b92550901b26acd1632e11c3662e381f # v1.3.0 |
|
|
|
|
|
|
|
|
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # v3.0.0 |
|
|
with: |
|
|
with: |
|
|
version: '3.x' |
|
|
version: '3.x' |
|
|
|
|
|
|
|
|
# Initializes the CodeQL tools for scanning. |
|
|
# Initializes the CodeQL tools for scanning. |
|
|
- name: Initialize CodeQL |
|
|
- name: Initialize CodeQL |
|
|
uses: github/codeql-action/init@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3 |
|
|
|
|
|
|
|
|
uses: github/codeql-action/init@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2 |
|
|
with: |
|
|
with: |
|
|
languages: ${{ matrix.language }} |
|
|
languages: ${{ matrix.language }} |
|
|
# If you wish to specify custom queries, you can do so here or in a config file. |
|
|
# If you wish to specify custom queries, you can do so here or in a config file. |
|
|
@ -65,7 +65,7 @@ jobs: |
|
|
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). |
|
|
# 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) |
|
|
# If this step fails, then you should remove it and run the build manually (see below) |
|
|
- name: Autobuild |
|
|
- name: Autobuild |
|
|
uses: github/codeql-action/autobuild@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3 |
|
|
|
|
|
|
|
|
uses: github/codeql-action/autobuild@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2 |
|
|
|
|
|
|
|
|
# ℹ️ Command-line programs to run using the OS shell. |
|
|
# ℹ️ 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 |
|
|
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun |
|
|
@ -78,6 +78,6 @@ jobs: |
|
|
# ./location_of_script_within_repo/buildscript.sh |
|
|
# ./location_of_script_within_repo/buildscript.sh |
|
|
|
|
|
|
|
|
- name: Perform CodeQL Analysis |
|
|
- name: Perform CodeQL Analysis |
|
|
uses: github/codeql-action/analyze@5b6282e01c62d02e720b81eb8a51204f527c3624 # v2.21.3 |
|
|
|
|
|
|
|
|
uses: github/codeql-action/analyze@0499de31b99561a6d14a36a5f662c2a54f91beee # v4.31.2 |
|
|
with: |
|
|
with: |
|
|
category: "/language:${{matrix.language}}" |
|
|
category: "/language:${{matrix.language}}" |